- Git 1.6+
- PHP 5.3.2+
- phpUnit 3.5+ (optional)
git clone git://github.com/symfony-cmf/cmf-sandbox.git
cd cmf-sandbox
git submodule update --init --recursive
This will fetch the main project and all it's dependencies ( Zend, Symfony, Doctrine\PHPCR, Jackalope ... )
You have to copy the default config.yml to fit your needs: cp app/config/config.yml.dist app/config/config.yml
In order to run tests or application, you will need a working Jackrabbit server running and listening by default on localhost port 8080.
Download the jackrabbit server from the official website: http://jackrabbit.apache.org/downloads.html
mv jackrabbit-standalone-2.x.x.jar jackrabbit-standalone.jar
java -jar jackrabbit-standalone.jar
Open you browser on http://localhost:8080/ You should have a default jackrabbit homepage.
Tests are written with PHPUnit.
phpunit -c app
Create an apache virtual host entry along the lines of <Virtualhost *:80> Servername cmf.lo DocumentRoot /path/to/symfony-cmf/cmf-sandbox/web <Directory /path/to/symfony-cmf/cmf-sandox> AllowOverride All
And add an entry to your hosts file for cmf.lo
Now go to http://cmf.lo/app_dev.php