This project was generated with wemake-django-template. Current template version is: 85e91cdc9ac0f1d35b81f37bc7da170ce746d521. See what is updated since then.
This app surves one main purpose: show pictures and save your favoirutes ones.
To do that we also have supporting features, like:
- User registration and login / logout mechanics
- Integration with other external "services"
- Admin panel
- All the required infrastructure code: including CI/CD and build scripts
We also care about:
- Code quality
- Naming conventions
- Architecture
- Typing
- Tooling
See https://github.com/sobolevn/testing_homework/blob/master/docs/pages/project/glossary.rst
You will need:
python3.9(seepyproject.tomlor.python-versionfor full version)postgresqlwith version13dockerwith version at least18.02
When developing locally, we use:
editorconfigplugin (required)poetry(required)pyenvpycharm 2017+orvscode
cp config/.env.template config/.env
# edit config/.env
# set DJANGO_SECRET_KEY to
# python3 -c 'from django.utils.crypto import get_random_string; print(get_random_string(50))'
docker compose up --build
# Run tests
docker compose exec web bash -c 'pytest'
# or faster tests without coverage
docker compose exec web bash -c 'ptw . --runner ./fast-pytest --now --delay 0.1'Full documentation is available here: docs/.