This is a starter example for project using Django Postgres stack!
Stack Information
- django 4.2.x
- postgresql latest
The prerequisites of using this starter example are:
Build docker images,
$ docker compose build
Up dev environment,
$ docker compose up
Visit http://127.0.0.1:8000/
Setup a virtual environment (e.g. python -m venv .venv
), and activate it source ./venv/bin/activate
.
$ pip install -r requirements-dev.txt
pre-commit
got installed,
and will run git hook scripts for identifying code issues before git commit.
If you are using any IDE, then configure the IDE to use this virtual environment.