<commit_before>The Nikola Handbook
===================

:Version: 5.4.2
:Author: <NAME> <<EMAIL>>

.. class:: alert alert-info pull-right

.. contents::


All You Need to Know
--------------------

After you have Nikola installed:

Create a empty site:
    ``nikola init mysite``

You can create a site with demo files in it with ``nikola init mysite --demo``

The rest of these commands have to be executed inside the new ``mysite`` folder.

Create a post:
    ``nikola new_post``

Edit the post:
    The filename should be in the output of the previous command.

Build the site:
     ``nikola build``

Start the test server:
     ``nikola serve``

See the site:<commit_msg>"--demo" parameter was misplaced<commit_after>The Nikola Handbook
===================

:Version: 5.4.2
:Author: <NAME> <<EMAIL>>

.. class:: alert alert-info pull-right

.. contents::


All You Need to Know
--------------------

After you have Nikola installed:

Create a empty site:
    ``nikola init mysite``

You can create a site with demo files in it with ``nikola init --demo mysite``

The rest of these commands have to be executed inside the new ``mysite`` folder.

Create a post:
    ``nikola new_post``

Edit the post:
    The filename should be in the output of the previous command.

Build the site:
     ``nikola build``

Start the test server:
     ``nikola serve``

See the site:
{'fraction_non_alphanumeric': 0.14755295836376917, 'fraction_numerical': 0.004382761139517896, 'mean_word_length': 3.1265060240963853, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '178720', 'n_tokens_mistral': 408, 'n_tokens_neox': 397, 'n_words': 186}