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
|
## 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue