<commit_before>Quickstart for a Testserver:

- Create a virtual environment: ``virtualenv venv;cd venv;source bin/activate``.
- Install django: ``pip install django>=1.8,<1.9``
- Create a project: ``django-admin.py startproject project;cd project``
- Link the project (TODO: add a setup.py): ``ln -s /path/to/firefox-profilemaker profilemaker``.
- Install requirements: ``pip install -r profilemaker/requirements.txt``.
- Edit ``project/settings.py`` (from the venv ``project/project/settings.py``)
  - ``INSTALLED_APPS``: Add ``'profilemaker', 'bootstrap3', 'jquery',``
- Edit ``project/urls.py``:
  - Add import: ``from django.contrib.staticfiles.urls import staticfiles_urlpatterns``
  - Add urlpattern: ``url(r'', include('profilemaker.urls')),``
  - Add after the urlpatterns: ``urlpatterns += staticfiles_urlpatterns()``
- Start with ``./manage.py runserver``
- Optional: To avoid using bootstrap from a CDN add: ``BOOTSTRAP3 = {'base_url': '/static/bootstrap/'}`` (and install bootstrap into the ``STATIC_ROOT``)
<commit_msg>Update install documentation for the new verion of Django<commit_after>Quickstart for a Testserver:

- Create a virtual environment: ``virtualenv venv;cd venv;source bin/activate``.
- Install requirements: ``pip install -r requirements.txt``.
- Create a project: ``django-admin.py startproject project;cd project``
- Link the project (TODO: add a setup.py): ``ln -s /path/to/firefox-profilemaker profilemaker``.
- Edit ``project/settings.py`` (from the venv ``project/project/settings.py``)
  - ``INSTALLED_APPS``: Add ``'profilemaker', 'bootstrap3', 'jquery',``
- Edit ``project/urls.py`` and replace by:
```python
from django.conf.urls import include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

urlpatterns = [
    url(r'', include("profilemaker.urls")),
]
urlpatterns += staticfiles_urlpatterns()
```
- Start with ``./manage.py runserver``
- Optional: To avoid using bootstrap from a CDN add: ``BOOTSTRAP3 = {'base_url': '/static/bootstrap/'}`` (and install bootstrap into the ``STATIC_ROOT``)
{'fraction_non_alphanumeric': 0.15792031098153547, 'fraction_numerical': 0.003887269193391642, 'mean_word_length': 5.335384615384616, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1108058', 'n_tokens_mistral': 639, 'n_tokens_neox': 629, 'n_words': 189}