<commit_before># Symfony Content Management Framework Sandbox

This sandbox is a testing ground for the cmf bundles being developped.


## Getting started

### You will need:
  * Git 1.6+
  * PHP 5.3.2+
  * phpUnit 3.5+ (optional)

## Get the code

    git clone git://github.com/symfony-cmf/cmf-sandbox.git
    cd cmf-sandbox
    cp app/config.yml.dist app/config.yml #maybe need to edit if defaults are not ok
    bin/vendors.sh

This will fetch the main project and all it's dependencies ( Cmf Bundles, Symfony, Doctrine\PHPCR, Jackalope ... )

### Install and run Apache JackRabbit

Follow the guide at
https://github.com/jackalope/jackalope/wiki/Running-a-jackrabbit-server
and then register the node types for phpcr-odm
https://github.com/doctrine/phpcr-odm/wiki/Custom-node-type-phpcr%3Amanaged

## Run the test suite

Tests are written with PHPUnit.

TESTS ARE CURRENTLY BROKEN

    phpunit -c app


## Import the fixtures

app/console -v phpcr:fixtures:load --path=src/Sandbox/MainBundle/Resources/data/fixtures/ --purge=true


## Access by web browser

Create an apache virtual host entry along the lines of
<Virtualhost *:80><commit_msg>there was no config.yml.dist in the app/ directory, but in the app/config/.<commit_after># Symfony Content Management Framework Sandbox

This sandbox is a testing ground for the cmf bundles being developped.


## Getting started

### You will need:
  * Git 1.6+
  * PHP 5.3.2+
  * phpUnit 3.5+ (optional)

## Get the code

    git clone git://github.com/symfony-cmf/cmf-sandbox.git
    cd cmf-sandbox
    cp app/config/config.yml.dist app/config/config.yml #maybe need to edit if defaults are not ok
    bin/vendors.sh

This will fetch the main project and all it's dependencies ( Cmf Bundles, Symfony, Doctrine\PHPCR, Jackalope ... )

### Install and run Apache JackRabbit

Follow the guide at
https://github.com/jackalope/jackalope/wiki/Running-a-jackrabbit-server
and then register the node types for phpcr-odm
https://github.com/doctrine/phpcr-odm/wiki/Custom-node-type-phpcr%3Amanaged

## Run the test suite

Tests are written with PHPUnit.

TESTS ARE CURRENTLY BROKEN

    phpunit -c app


## Import the fixtures

app/console -v phpcr:fixtures:load --path=src/Sandbox/MainBundle/Resources/data/fixtures/ --purge=true


## Access by web browser

Create an apache virtual host entry along the lines of
<Virtualhost *:80>
{'fraction_non_alphanumeric': 0.09569983136593592, 'fraction_numerical': 0.008431703204047217, 'mean_word_length': 3.6897233201581026, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '1102804', 'n_tokens_mistral': 815, 'n_tokens_neox': 767, 'n_words': 260}