<commit_before># MicronCMS
MicronCMS- a drop in micro CMS for minimalist websites

# Main Goal
The goal was to build extendable, small and reliable CMS for microsites
that follows best practices and is a drop in replacement for an old CMS.

User build his own structure and CMS would take care of anything else...

# Requirements
 - PHP >=5.5.2
 
# Supported files
 - .html
 - .txt
 - .json
 - .md (extended markdown using `michelf/php-markdown`)
 
# Usage
 - Download latest snapshot from `https://github.com/AlexanderC/MicronCMS/raw/master/snapshots/1429171587_master.zip`
 - Unzip it in you web directory (ex. /var/www)
 - Create you own or overwrite pages in `_content` directory
 - That's it!
 
How it works: 
 
> By accessing `www.yoursite.com/` - CMS would look for an `_content/_index.*` file

> By accessing `www.yoursite.com/whatever` - CMS would look for an `_content/whatever.*` file

> By accessing `www.yoursite.com/nested/whatever` - CMS would look for an `_content/nested/whatever.*` file

> On `404` error - CMS would look for an `_content/_404.*` file

> On `500` error - CMS would look for an `_content/_500.*` file
 
For more examples check `_content` directory from latest snapshot 
 
# Development
 - Clone from github
 - Run `composer install`
 - Thats it!
 
# Compilation
In order to compile run `./bin/compile` (you may change `DEBUG` flag for debugging purposes)

# TODO
 - Add more servers support
 - Add tests
 - Advanced templates pre processing
 - More flexible templates<commit_msg>create tag<commit_after># MicronCMS
MicronCMS- a drop in micro CMS for minimalist websites

# Main Goal
The goal was to build extendable, small and reliable CMS for microsites
that follows best practices and is a drop in replacement for an old CMS.

User build his own structure and CMS would take care of anything else...

# Requirements
 - PHP >=5.5.2
 
# Supported files
 - .html
 - .txt
 - .json
 - .md (extended markdown using `michelf/php-markdown`)
 
# Usage
 - Download latest snapshot from `https://github.com/AlexanderC/MicronCMS/raw/master/snapshots/1429171587_master.zip`
 - Unzip it in you web directory (ex. /var/www)
 - Create you own or overwrite pages in `_content` directory
 - That's it!
 
How it works: 
 
> By accessing `www.yoursite.com/` - CMS would look for an `_content/_index.*` file

> By accessing `www.yoursite.com/whatever` - CMS would look for an `_content/whatever.*` file

> By accessing `www.yoursite.com/nested/whatever` - CMS would look for an `_content/nested/whatever.*` file

> On `404` error - CMS would look for an `_content/_404.*` file

> On `500` error - CMS would look for an `_content/_500.*` file
 
For more examples check `_content` directory from latest snapshot 
 
# Development
 - Clone from github
 - Run `composer install`
 - Thats it!
 
# Compilation
In order to compile run `./bin/compile` (you may change `DEBUG` flag for debugging purposes)

# Changelog
###v1.0.0beta
 - First release...

# TODO
 - Add more servers support
 - Add tests
 - Advanced templates pre processing
 - More flexible templates
{'fraction_non_alphanumeric': 0.09446254071661238, 'fraction_numerical': 0.01726384364820847, 'mean_word_length': 3.502932551319648, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5638041', 'n_tokens_mistral': 1010, 'n_tokens_neox': 905, 'n_words': 384}