<commit_before>.. _impatient:

=================
For the Impatient
=================

This HowTo gives you a quick instruction on how to get a demo of **djangocms-cascade** up and
running. It also is a good starting point to ask questions or report bugs, since its backend is
used as a fully functional reference implementation, used by the unit tests of project.


Create a Python Virtual Environment
===================================

To keep environments separate, create a virtual environment and install external dependencies.
Missing packages with JavaScript files and Style Sheets, which are not available via pip must be
installed via npm:

.. code-block:: bash

	$ cd djangocms-cascade
	$ virtualenv cascadenv
	$ source cascadenv/bin/activate
	(cascadenv)$ pip install -r requirements/django19.txt
	(cascadenv)$ npm install


Initialize the database, create a superuser and start the development server:

.. code-block:: bash

	cd examples
	./manage.py migrate
	./manage.py createsuperuser
	./manage.py runserver

Point a browser onto http://localhost:8000/ and log in as the super user. Here you should be able
to add your first page. Do this by changing into into **Structure** mode on the top of the page.
Now a heading named **Main Content** appears. This heading symbolizes our main **djangoCMS**
Placeholder.
<commit_msg>Let's be more explicit here<commit_after>.. _impatient:

=================
For the Impatient
=================

This HowTo gives you a quick instruction on how to get a demo of **djangocms-cascade** up and
running. It also is a good starting point to ask questions or report bugs, since its backend is
used as a fully functional reference implementation, used by the unit tests of project.


Create a Python Virtual Environment
===================================

To keep environments separate, create a virtual environment and install external dependencies.
Missing packages with JavaScript files and Style Sheets, which are not available via pip must be
installed via npm:

.. code-block:: bash


    $ git clone https://github.com/jrief/djangocms-cascade.git
	$ cd djangocms-cascade
	$ virtualenv cascadenv
	$ source cascadenv/bin/activate
	(cascadenv)$ pip install -r requirements/django19.txt
	(cascadenv)$ npm install


Initialize the database, create a superuser and start the development server:

.. code-block:: bash

	cd examples
	./manage.py migrate
	./manage.py createsuperuser
	./manage.py runserver

Point a browser onto http://localhost:8000/ and log in as the super user. Here you should be able
to add your first page. Do this by changing into into **Structure** mode on the top of the page.
Now a heading named **Main Content** appears. This heading symbolizes our main **djangoCMS**
Placeholder.

{'fraction_non_alphanumeric': 0.10965867828612927, 'fraction_numerical': 0.004357298474945534, 'mean_word_length': 4.47713717693837, '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': '6686251', 'n_tokens_mistral': 748, 'n_tokens_neox': 696, 'n_words': 361}