forked from wiktor/spejstore-new
improve readme for the newbs
This commit is contained in:
parent
a427c34dff
commit
323da8e0df
|
@ -5,6 +5,15 @@ Please use Python3, for the love of `$deity`...
|
|||
|
||||
## 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
|
||||
|
||||
```sh
|
||||
|
|
|
@ -3,8 +3,12 @@ services:
|
|||
db:
|
||||
build: postgres-hstore
|
||||
restart: always
|
||||
# NOTE: Comment out `volumes` for development
|
||||
volumes:
|
||||
- /var/spejstore-data:/var/lib/postgresql/data
|
||||
# NOTE: Uncomment this awful thing for development
|
||||
# environment:
|
||||
# - POSTGRES_HOST_AUTH_METHOD=trust
|
||||
|
||||
web:
|
||||
build: .
|
||||
|
@ -19,4 +23,5 @@ services:
|
|||
|
||||
env_file:
|
||||
- spejstore-dev.env
|
||||
# NOTE: Comment out this for development
|
||||
- spejstore.env
|
||||
|
|
Loading…
Reference in New Issue