<commit_before>Zorbus Bootstrap Edition
========================

Setup
-----

* composer.phar create-project zorbus/bootstrap PROJECT_ROOT dev-master
* mkdir app/cache app/logs web/uploads
* setfacl -R -m u:`whoami`:rwx -m u:apache:rwx app/cache app/logs web/uploads
* setfacl -dR -m u:`whoami`:rwx -m u:apache:rwx app/cache app/logs web/uploads

Configuration
-------------

* edit app/config/config.yml for facebook parameters and other configuration
* edit app/config/parameters.yml for database parameters

Database
--------

* create tables
** php app/console doctrine:migrations:migrate

* load fixtures
** php app/console doctrine:fixtures:load

Web Server
----------

* Configure Apache VirtualHost
* Or as an alternative, if using php 5.4 or higher
** php app/console server:run

Administration
--------------

And then visit http://localhost:8080/admin/dashboard

Username: zorbus and Password: <PASSWORD><commit_msg>more info in the readme<commit_after>Zorbus Bootstrap Edition
========================

Setup
-----

* composer.phar create-project zorbus/bootstrap PROJECT_ROOT dev-master
* mkdir app/cache app/logs web/uploads
* setfacl -R -m u:`whoami`:rwx -m u:apache:rwx app/cache app/logs web/uploads
* setfacl -dR -m u:`whoami`:rwx -m u:apache:rwx app/cache app/logs web/uploads

Configuration
-------------

* edit app/config/config.yml for facebook parameters and other configuration
* edit app/config/parameters.yml for database parameters

Database
--------

* create tables
  * php app/console doctrine:migrations:migrate
* load fixtures
  * just the admin user
    * php app/console doctrine:fixtures:load --fixtures=src/Zorbus/UserBundle
  * or all zorbus fixtures
    * php app/console doctrine:fixtures:load

Web Server
----------

* Configure Apache VirtualHost
* Or as an alternative, if using php 5.4 or higher
  * php app/console server:run

Administration
--------------

* And then visit http://localhost:8000/admin/dashboard
  *Username: zorbus and Password: <PASSWORD>
{'fraction_non_alphanumeric': 0.15476784822765852, 'fraction_numerical': 0.005991013479780329, 'mean_word_length': 3.596330275229358, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4566978', 'n_tokens_mistral': 632, 'n_tokens_neox': 593, 'n_words': 183}