-
Copy the "example.env" file to ".env" so docker-compose can find it.
-
Fill in the following values in your .env file:
- API_SERVER_CODE_PATH
The path to where you local copy of the api-server repo lies. - API_SERVER_SECRET_KEY
Some secret-key for the API-Server, this can be nonsense as it's only your local development server. - USER_DB_PASSWORD
Some password for the user-db. This can be nonsense as well.
Optional:
- HTTP_PORT
The port for everything to run on. Default: 8000.
- API_SERVER_CODE_PATH
-
Run '
docker-compose -p kannji up
' in the directory where the 'docker-compose.yml' lies to start everything. -
Run '
docker-compose -p kannji exec api-server python manage.py createsuperuser
' to create a django-superuser.
This repository was archived by the owner on Dec 10, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
kannji/local-dev-docker-files
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published