<commit_before>Configuring The Webapp
======================

There are multiple ways to expose the Graphite webapp. The following stack configurations exist:

* `Apache`_ with `mod_wsgi`_
* `nginx`_ with `gunicorn`_
* `nginx`_ with `uWSGI`_

Depending on the configuration you choose, the webapp configuration is slightly different.

nginx + gunicorn
----------------

In this setup, nginx will proxy requests for Gunicorn, which will itself listen locally on port 8080 and serve the webapp (Django application).

Install Gunicorn
^^^^^^^^^^^^^^^^

If you use a virtualenv, you can use ``pip``:

.. code-block:: none

   pip install gunicorn

Otherwise, you can use packages for your distribution.

On Debian-based systems, run:<commit_msg>remove useless links in webapp config stack list<commit_after>Configuring The Webapp
======================

There are multiple ways to expose the Graphite webapp. The following stack configurations exist:

* Apache + mod_wsgi
* nginx + gunicorn
* nginx + uWSGI

Depending on the configuration you choose, the webapp configuration is slightly different.

nginx + gunicorn
----------------

In this setup, nginx will proxy requests for Gunicorn, which will itself listen locally on port 8080 and serve the webapp (Django application).

Install Gunicorn
^^^^^^^^^^^^^^^^

If you use a virtualenv, you can use ``pip``:

.. code-block:: none

   pip install gunicorn

Otherwise, you can use packages for your distribution.

On Debian-based systems, run:
{'fraction_non_alphanumeric': 0.12550335570469798, 'fraction_numerical': 0.005369127516778523, 'mean_word_length': 4.325, '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': '78634', 'n_tokens_mistral': 426, 'n_tokens_neox': 391, 'n_words': 185}