Configuration
Configuration¶
In this step, you'll update some files to get the project working — but don’t worry, most of it is automated! All you need to do is:
- Navigate to the root of the project.
- Run the setup script:
🪧 Now that the codebase is set up, you’re ready to run the application. Continue to the run guide.
You may also want to review how to set up other environments (see below) before running the project.
Set up different environment (optional)¶
To edit the application settings (e.g. username of admin user, password of admin user, port of server etc.), use a text editor to edit deployment/.env. See the descriptions below for each of variable.
COMPOSE_PROJECT_NAME=django_react_base
DJANGO_SETTINGS_MODULE=core.settings.dev
DJANGO_TAG=0.0.1
HTTP_PORT=80
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
ADMIN_EMAIL=admin@example.com
DATABASE_NAME=django
DATABASE_USERNAME=docker
DATABASE_PASSWORD=docker
DATABASE_HOST=db
REDIS_HOST=redis
REDIS_PASSWORD=redis_password
RABBITMQ_HOST=rabbitmq
SENTRY_DSN=
🪧 Now that the codebase is set up, you’re ready to run the application. Continue to the run guide.