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
|
# Package app source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Defaults
|
|
||||||
ENV EBPORT=3000
|
|
||||||
ENV EBPASS=changeme
|
|
||||||
|
|
||||||
CMD node db.js; npm start
|
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
|
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
|
## License
|
||||||
|
|
||||||
[The Unlicense](https://opensource.org/licenses/unlicense)
|
[The Unlicense](https://opensource.org/licenses/unlicense)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<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/base.css">
|
||||||
<link rel="stylesheet" href="/css/index.css">
|
<link rel="stylesheet" href="/css/index.css">
|
||||||
<link rel="stylesheet" href="/css/app.css">
|
<link rel="stylesheet" href="/css/app.css">
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<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/base.css">
|
||||||
<link rel="stylesheet" href="/css/index.css">
|
<link rel="stylesheet" href="/css/index.css">
|
||||||
<link rel="stylesheet" href="/css/login.css">
|
<link rel="stylesheet" href="/css/login.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<section class="prompt">
|
<section class="prompt">
|
||||||
<h3>todos</h3>
|
<h3>Embedder</h3>
|
||||||
<h1>Sign in</h1>
|
<h1>Sign in</h1>
|
||||||
<form action="/login/password" method="post">
|
<form action="/login/password" method="post">
|
||||||
<section>
|
<section>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue