Set an environment variable to use as a Django SECRET_KEY
. You can use this site:
export DJANGO_SECRET_KEY=yoursecretkey
There are multiple settings modules available. Specify which one to activate by defining an environment variable:
export DJANGO_SETTINGS_MODULE=config.settings.development
docker-compose up -d --build
docker-compose exec web python /code/manage.py migrate --noinput
docker-compose exec web python manage.py createsuperuser
Follow the prompts to enter username and password for the Django admin user.
docker-compose exec web python manage.py makemigrations
docker-compose exec web python manage.py migrate
docker-compose exec web python manage.py loaddata users
docker-compose exec web python manage.py loaddata seed_data
First, install the dependencies:
cd frontend
yarn install
yarn build