Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 898 Bytes

File metadata and controls

43 lines (26 loc) · 898 Bytes

django-postgres

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:

Dev Environment

Build docker images,

$ docker compose build

Up dev environment,

$ docker compose up

Visit http://127.0.0.1:8000/

More settings

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.