git clone ... <dir>
cd <dir>
docker-compose up -d
...
docker-compose down
- Browser api url: http://localhost:8000/api/v1/
- Browser admin url: http://localhost:8000/admin/
docker-compose -f docker-compose.dev.yml up --build
...
CTRL+C
docker-compose -f docker-compose.test.yml up -d --build
...
docker-compose -f docker-compose.test.yml down
- Startup {stage}
- Run
./util/{stage}/manage.sh command
- Startup dev-mode
- Run
./util/dev/manage.sh makemigrations
- Startup {stage}
- Run
./util/{stage}/manage.py createsuperuser
django_app/config/{stage}/.env
DB_AUTO_MIGRATE
for applying migrations on every startupDB_LOADDATA_SAMPLE
for loading sample data on every startupCOLLECT_STATIC
for collecting static on every startup (test-mode only)
- сделать отправку email'ов асинхронно
- добавить пагинацию
- метод search перенести в сущность "книги"
- добавить тесты