add env-example and update readme
This commit is contained in:
parent
4c92bbeae2
commit
46189e716d
|
@ -5,5 +5,14 @@ A web wallet for noobs who can't use a CLI.
|
||||||
## Setup
|
## 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
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
DB_PASS=xxxx
|
||||||
|
DB_USER=wowstash
|
||||||
|
DB_HOST=localhost
|
Loading…
Reference in New Issue