From 46189e716d5b1bd1fe63563c670722cfc03f69d4 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Sun, 27 Sep 2020 07:40:23 -0700 Subject: [PATCH] add env-example and update readme --- README.md | 9 +++++++++ env-example | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 env-example diff --git a/README.md b/README.md index 02c3266..0ac8226 100644 --- a/README.md +++ b/README.md @@ -5,5 +5,14 @@ A web wallet for noobs who can't use a CLI. ## Setup ``` +# Create new database secrets +cp env-example .env +vim .env + +# Setup app secrets +cp wowstash/config.{example.py,py} +vim wowstash/config.py + +# Run db (postgres) and cache (redis) containers docker-compose up -d ``` diff --git a/env-example b/env-example new file mode 100644 index 0000000..c146cb6 --- /dev/null +++ b/env-example @@ -0,0 +1,3 @@ +DB_PASS=xxxx +DB_USER=wowstash +DB_HOST=localhost