Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 547 Bytes

development.rst

File metadata and controls

26 lines (17 loc) · 547 Bytes

Development

With docker and docker-compose

Copy `.env.dist` to `.env` and fill `SECRET_KEY` and `POSTGRES_PASSWORD`

docker-compose build
# docker-compose up
docker-compose run /code/venv/bin/python ./manage.py test

Local

  • Install python and django requirements (python 3.8+, django 3.2+)
  • Install geodjango requirements
  • Have a postgresql / postgis 2.4+ enabled database
  • Use a virtualenv
pip install .[dev] -U