Skip to content

Commit

Permalink
tweaked the README
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Nov 2, 2015
1 parent 62cd332 commit 145da93
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,20 @@ You can run the sandbox on your system, or in a virtualbox VM using Vagrant. For

git clone git://github.com/symfony-cmf/cmf-sandbox.git
cd cmf-sandbox
# copy parameters template and edit as needed
cp app/config/parameters.yml.dist app/config/parameters.yml
curl -s http://getcomposer.org/installer | php --
php composer.phar install

Note: On Windows you need to run the shell as Administrator or edit the `composer.json` and
change the line `"symfony-assets-install": "symlink"` to `"symfony-assets-install": ""`
If you fail to do this you might receive:

[Symfony\Component\Filesystem\Exception\IOException]
Unable to create symlink due to error code 1314: 'A required privilege is not held by the client'. Do you have the required Administrator-rights?

At the end of the installation you will be interactively asked several configuration
questions. Note that by default you will end up with a configuration using
SQLite and Doctrine DBAL for storage. If you want to adjust the configuration
to use Jackrabbit please look at the following section.

### Install and run Apache JackRabbit

Expand All @@ -41,7 +52,6 @@ Once you have that, copy the default jackalope-jackrabbit configuration file,
adjust it as needed and install the dependencies with composer:

cp app/config/phpcr_jackrabbit.yml.dist app/config/phpcr.yml
php composer.phar install

The last command will fetch the main project and all its dependencies (CMF
Bundles, Symfony, Doctrine\PHPCR, Jackalope ... ). You might want to have a look
Expand All @@ -55,20 +65,11 @@ available, this is the simplest to quickly try out the CMF. Copy the file
and then install the dependencies:

cp app/config/phpcr_doctrine_dbal.yml.dist app/config/phpcr.yml
php composer.phar install

The Doctrine DBAL implementation is installed by default already along side the Jackrabbit implementation.

To disable the meta data and node cache for debugging comment the ``caches`` settings in the `phpcr.yml`.


Note: On Windows you need to run the shell as Administrator or edit the `composer.json` and
change the line `"symfony-assets-install": "symlink"` to `"symfony-assets-install": ""`
If you fail to do this you might receive:

[Symfony\Component\Filesystem\Exception\IOException]
Unable to create symlink due to error code 1314: 'A required privilege is not held by the client'. Do you have the required Administrator-rights?

Then, create the database and tables and set up the default workspace using:

php app/console doctrine:database:create
Expand Down

0 comments on commit 145da93

Please sign in to comment.