From 39d198cfd5722eff10968efb607a0aca96669703 Mon Sep 17 00:00:00 2001 From: anarch3 Date: Sun, 13 Nov 2022 04:32:48 -0500 Subject: [PATCH] readme --- Dockerfile | 4 ---- README.md | 21 +++++++++++++++++++++ views/index.ejs | 2 +- views/login.ejs | 4 ++-- 4 files changed, 24 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 308576c..af24377 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,4 @@ RUN npm install # Package app source COPY . . -# Defaults -ENV EBPORT=3000 -ENV EBPASS=changeme - CMD node db.js; npm start diff --git a/README.md b/README.md index 9e45fae..062a38e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,27 @@ A media host specialized in good looking embeds for services like Discord +![Imgur Image](https://i.imgur.com/prEZnmT.mp4) + +## 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) diff --git a/views/index.ejs b/views/index.ejs index 59b6da5..a4d51da 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -3,7 +3,7 @@ - Express • TodoMVC + Embedder diff --git a/views/login.ejs b/views/login.ejs index a2c188e..69edd80 100644 --- a/views/login.ejs +++ b/views/login.ejs @@ -3,14 +3,14 @@ - Express • TodoMVC + Embedder
-

todos

+

Embedder

Sign in