My vision of Clean Architecture.
- copy
.env.sampleto.env - run
docker compose up -d - go to http://localhost:8000
As usual, you must set up system libs and Python venv. Let's skip this for now. Assuming you're already know how to do it and you have your toolchain set.
To run tests, you must:
- start db container:
task docker-up -- postgres. - check
.env:WEBAPP_PRIMARY_DATABASE_URLmust point tolocalhost:5432. - check
.env:WEBAPP_TEST_URLmust point tolocalhost:8000. - apply migratios:
task db-migrate. - start development server:
task run-server-dev. - in another terminal, enjoy your tests:
task f l t.