<commit_before>{{cookiecutter.project_name}}
==============================

{{cookiecutter.description}}


LICENSE: MIT

Deployment
------------

* heroku create
* heroku addons:add heroku-postgresql:dev
* heroku addons:add pgbackups
* heroku addons:add sendgrid:starter
* heroku pg:promote HEROKU_POSTGRESQL_COLOR
* heroku config:add AWS_ACCESS_KEY_ID=YOUR_ID
* heroku config:add AWS_SECRET_ACCESS_KEY=YOUR_KEY
* heroku config:add AWS_STORAGE_BUCKET_NAME=BUCKET
* git push heroku master
* heroku run python {{cookiecutter.repo_name}}/manage.py syncdb --noinput --settings=config.settings
* heroku run python {{cookiecutter.repo_name}}/manage.py migrate --settings=config.settings
* heroku run python {{cookiecutter.repo_name}}/manage.py collectstatic --settings=config.settings

Run this script: (TODO - automate this)

.. code-block:: python

    from django.contrib.sites.models import Site
    site = Site.objects.get()
    site.domain = "{{cookiecutter.project_name}}.com"
    site.domain = "{{cookiecutter.project_name}}"
    site.save()<commit_msg>Update README.rst<commit_after>{{cookiecutter.project_name}}
==============================

{{cookiecutter.description}}


LICENSE: MIT

Deployment
------------

* heroku create
* heroku addons:add heroku-postgresql:dev
* heroku addons:add pgbackups
* heroku addons:add sendgrid:starter
* heroku pg:promote HEROKU_POSTGRESQL_COLOR
* heroku config:add AWS_ACCESS_KEY_ID=YOUR_ID
* heroku config:add AWS_SECRET_ACCESS_KEY=YOUR_KEY
* heroku config:add AWS_STORAGE_BUCKET_NAME=BUCKET
* git push heroku master
* heroku run python {{cookiecutter.repo_name}}/manage.py syncdb --noinput --settings=config.settings
* heroku run python {{cookiecutter.repo_name}}/manage.py migrate --settings=config.settings
* heroku run python {{cookiecutter.repo_name}}/manage.py collectstatic --settings=config.settings

Run this script: (TODO - automate this)

.. code-block:: python

    from django.contrib.sites.models import Site
    site = Site.objects.get()
    site.domain = "{{cookiecutter.project_name}}.com"
    site.name = "{{cookiecutter.project_name}}"
    site.save()
{'fraction_non_alphanumeric': 0.14711447492904448, 'fraction_numerical': 0.0, 'mean_word_length': 5.313432835820896, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '114712', 'n_tokens_mistral': 708, 'n_tokens_neox': 676, 'n_words': 140}