This project was generated with wemake-django-template
. Current template version is: 4e5b885. See what is updated since then.
This app serves just one main purpose: showing pictures and saving 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.11
(seepyproject.toml
for full version)postgresql
with version15
- Latest
docker
When developing locally, we use:
editorconfig
plugin (required)poetry
(required)pyenv
One time setup:
git clone tough-dev-school/python-testing-homework
cd python-testing-homework
- Create your own
config/.env
file:cp config/.env.template config/.env
and then update it with your own value
Run tests with:
docker compose run --rm web pytest
To start the whole project:
- Run
docker compose run --rm web python manage.py migrate
(only once) docker compose up
Full documentation is available here: docs/
.