<commit_before>Installation instructions
=========================

TBD.

Local installation
==================

Create virtualenv as usual. Then run::
  pip install -r requirements/dev.txt
  cp Makefile.def.default Makefile.def
  cp p2psafety_django/p2psafety/settings/local.py.default p2psafety_django/p2psafety/settings/local.py

Then you can run app locally by
  make run

Warning! Do not user this type of installation on production, change your
SECRET_KEY in settings/local.py before deploying to production. Keep your secrets
to yourself. Have fun.<commit_msg>ticket:25 Added a line about postgis to install instructions<commit_after>Installation instructions
=========================

TBD.

Local installation
==================

Create virtualenv as usual. Then run::
  pip install -r requirements/dev.txt
  cp Makefile.def.default Makefile.def
  cp p2psafety_django/p2psafety/settings/local.py.default p2psafety_django/p2psafety/settings/local.py

Install PostGIS as described here:
  https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/postgis/

Then you can run app locally by
  make run

Warning! Do not user this type of installation on production, change your
SECRET_KEY in settings/local.py before deploying to production. Keep your secrets
to yourself. Have fun.
{'fraction_non_alphanumeric': 0.12325581395348838, 'fraction_numerical': 0.007751937984496124, 'mean_word_length': 5.0327102803738315, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3369099', 'n_tokens_mistral': 381, 'n_tokens_neox': 358, 'n_words': 125}