Commit 7184676a authored by totte's avatar totte
Browse files

Improve documentation on PyCharm settings

parent b2f17aec
......@@ -29,32 +29,44 @@
Add [release notes](https://docs.gitlab.com/ee/workflow/releases.html), and use
[semantic versioning](https://semver.org/).
# Settings for the Django development server
# Settings for PyCharm
- File
- Settings
- Build, Execution, Deployment
- Console
- Python Console
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `ALLOWED_HOSTS=127.0.0.1,localhost`
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `ALLOWED_HOSTS=localhost`
- Django Console
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `ALLOWED_HOSTS=127.0.0.1,localhost`
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `ALLOWED_HOSTS=localhost`
- Docker
- Registry
- Use a personal access token with `api` and `read_registry` scopes
- Run
- Edit Configurations
- Django server
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `ALLOWED_HOSTS=127.0.0.1,localhost`
## Settings for Docker
- Run
- Edit Configurations
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `ALLOWED_HOSTS=localhost`
- Docker
- `./docker-compose.override.yml; ./docker-compose.yml;`
- `.env` file required
- `./docker-compose.yml;`
- Environment variables
- `DEBUG=true`
- `SECRET_KEY=somethinglong`
- `ALLOWED_HOSTS=localhost`
- `ENGINE=django.db.backends.postgresql`
- `POSTGRES_DB=`
- `POSTGRES_HOST=`
- `POSTGRES_PASSWORD=`
- `POSTGRES_PORT=`
- `POSTGRES_USER=`
# Advice for using Docker
- 1 application or service = 1 container
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment