/encampments

Encampment tracker, originally for the City of Oakland

Primary LanguagePythonMIT LicenseMIT

encampments

Encampment tracker, originally for the City of Oakland

Basic setup

docker-compose build
docker-compose run web python manage.py migrate
docker-compose up web

Adding dependencies

  1. Add the dependency to common.base, dev.in or prod.in
  2. Run pip-compile --no-annotate reqs/dev.in
  3. Run pip-compile --no-annotate reqs/prod.in

Setup Precommit Hooks

  1. pip install pre-commit
  2. pre-commit install

Bootstrapping some encampment data

  1. docker-compose run web python manage.py bootstrap_location oakland (or other supported location)

Creating a user login

  1. Log into container terminal with docker-compose exec web bash
  2. Run python manage.py createsuperuser to create the user account