Skip to content
This repository was archived by the owner on Jun 11, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd app
docker-compose up -d

# apply database migrations
docker-compose run engine python manage.py migrate
docker-compose run web python manage.py migrate
```

The engine should now be available at localhost:8000. Try opening localhost:8000/engine/api in a web browser.
Expand All @@ -29,7 +29,7 @@ The engine should now be available at localhost:8000. Try opening localhost:8000
To access the Django admin panel, a superuser needs to be created.
```
# Open an interactive shell in engine docker container
docker-compose run engine bash
docker-compose run web bash

# Create super user account
python manage.py createsuperuser
Expand Down
1 change: 1 addition & 0 deletions app/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
image: postgres
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: engine
volumes:
- pgdata:/var/lib/postgresql/data/
ports:
Expand Down