1
0
Fork 0

improve readme for the newbs

This commit is contained in:
radex 2020-05-11 17:28:29 +02:00 committed by Piotr Dobrowolski
parent a427c34dff
commit 323da8e0df
2 changed files with 14 additions and 0 deletions

View File

@ -5,6 +5,15 @@ Please use Python3, for the love of `$deity`...
## Usage ## Usage
### Quick start
1. Open `docker-compose.yml` and make changes as comments indicate (TODO: Please someone make this not awful)
2. Run:
```sh
docker-compose up --build
```
### Build & run ### Build & run
```sh ```sh

View File

@ -3,8 +3,12 @@ services:
db: db:
build: postgres-hstore build: postgres-hstore
restart: always restart: always
# NOTE: Comment out `volumes` for development
volumes: volumes:
- /var/spejstore-data:/var/lib/postgresql/data - /var/spejstore-data:/var/lib/postgresql/data
# NOTE: Uncomment this awful thing for development
# environment:
# - POSTGRES_HOST_AUTH_METHOD=trust
web: web:
build: . build: .
@ -19,4 +23,5 @@ services:
env_file: env_file:
- spejstore-dev.env - spejstore-dev.env
# NOTE: Comment out this for development
- spejstore.env - spejstore.env