readme
This commit is contained in:
parent
67522d3a4e
commit
39d198cfd5
4 changed files with 24 additions and 7 deletions
|
@ -10,8 +10,4 @@ RUN npm install
|
|||
# Package app source
|
||||
COPY . .
|
||||
|
||||
# Defaults
|
||||
ENV EBPORT=3000
|
||||
ENV EBPASS=changeme
|
||||
|
||||
CMD node db.js; npm start
|
||||
|
|
21
README.md
21
README.md
|
@ -2,6 +2,27 @@
|
|||
|
||||
A media host specialized in good looking embeds for services like Discord
|
||||
|
||||

|
||||
|
||||
## Run
|
||||
|
||||
Source:
|
||||
```Bash
|
||||
EBPASS=changeme
|
||||
EBPORT=3000
|
||||
EBSECRET=4jkdmakl2l #jwt session secret
|
||||
|
||||
$ npm install
|
||||
$ node db.js
|
||||
$ npm start
|
||||
```
|
||||
|
||||
Docker
|
||||
```
|
||||
docker build . -t embedder
|
||||
docker run -d -p "4000:4000" -e EBPORT=4000 -e EBPASS=pass -e EBSECRET=4jkdmakl2l embedder
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[The Unlicense](https://opensource.org/licenses/unlicense)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Express • TodoMVC</title>
|
||||
<title>Embedder</title>
|
||||
<link rel="stylesheet" href="/css/base.css">
|
||||
<link rel="stylesheet" href="/css/index.css">
|
||||
<link rel="stylesheet" href="/css/app.css">
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Express • TodoMVC</title>
|
||||
<title>Embedder</title>
|
||||
<link rel="stylesheet" href="/css/base.css">
|
||||
<link rel="stylesheet" href="/css/index.css">
|
||||
<link rel="stylesheet" href="/css/login.css">
|
||||
</head>
|
||||
<body>
|
||||
<section class="prompt">
|
||||
<h3>todos</h3>
|
||||
<h3>Embedder</h3>
|
||||
<h1>Sign in</h1>
|
||||
<form action="/login/password" method="post">
|
||||
<section>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue