<commit_before># XWC Sandbox
## What is XWC Sandbox?
It is a version of the Symfony2 Sandbox that contains the XwcCoreBundle enabled 
by default and pre-configured to work out-of-the-box. XWC is a content 
management system based on Symfony2.

## Requirements
Symfony is only supported on PHP 5.3.2 and up. To check the compatibility of
your environment with Symfony2, you can run the `web/check.php` script, bundled
with this sandbox.

## Installation for Users
Coming soon...
		
## Installation for Developers
1. [Fork the project on github](http://help.github.com/forking/)
2. Clone your fork to a folder on your local machine:
    git clone git://github.com/tangentlabs/symfony-sandbox.git
3. Initialise and update XwcCoreBundle submodule
    git submodule init
    git submodule update
4. Set permissions
    chmod 777 app/cache -R
    chmod 777 app/logs -R
5. Point your apache to the sandbox folder. You may simply symlink it in 
/var/www/ folder.
    sudo ln -s /path/to/xwc-sandbox /var/www/xwc-sandbox
6. Go to "http://WEBSERVER/xwc-sandbox/web/app_dev.php/

### Updating your fork with latest changes in xwc-sandbox
1. In project folder run:
    git pull origin master

### Updating /XwcCoreBundle submodule
    git submodule update

### Pushing your changes to the xwc-sandbox or XwcCoreBundle
For /xwc-sandbox commits in the root of the project folder run:
    git push origin master
To push commits in /XwcCoreBundle submodule:
    cd /path/to/xwc-sandbox/src/Tangent/XwcCoreBundle
    git push origin master<commit_msg>Updated readme formatting to show code nicely<commit_after># XWC Sandbox
## What is XWC Sandbox?
It is a version of the Symfony2 Sandbox that contains the XwcCoreBundle enabled 
by default and pre-configured to work out-of-the-box. XWC is a content 
management system based on Symfony2.

## Requirements
Symfony is only supported on PHP 5.3.2 and up. To check the compatibility of
your environment with Symfony2, you can run the `web/check.php` script, bundled
with this sandbox.

## Installation for Users
Coming soon...
		
## Installation for Developers
1. [Fork the project on github](http://help.github.com/forking/)
2. Clone your fork to a folder on your local machine:
        git clone git://github.com/tangentlabs/symfony-sandbox.git
3. Initialise and update XwcCoreBundle submodule
        git submodule init
        git submodule update
4. Set permissions
        chmod 777 app/cache -R
        chmod 777 app/logs -R
5. Point your apache to the sandbox folder. You may simply symlink it in 
/var/www/ folder.
        sudo ln -s /path/to/xwc-sandbox /var/www/xwc-sandbox
6. Go to "http://WEBSERVER/xwc-sandbox/web/app_dev.php/

### Updating your fork with latest changes in xwc-sandbox
1. In project folder run:
        git pull origin master

### Updating /XwcCoreBundle submodule
        git submodule update

### Pushing your changes to the xwc-sandbox or XwcCoreBundle
For /xwc-sandbox commits in the root of the project folder run:
        git push origin master
To push commits in /XwcCoreBundle submodule:
        cd /path/to/xwc-sandbox/src/Tangent/XwcCoreBundle
        git push origin master
{'fraction_non_alphanumeric': 0.07124681933842239, 'fraction_numerical': 0.012086513994910942, 'mean_word_length': 3.3741307371349096, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5278349', 'n_tokens_mistral': 1011, 'n_tokens_neox': 957, 'n_words': 403}