Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update README and homepage content

  • Loading branch information...
commit eb6e91deae872d17d6cd18063c77c32535df6df9 1 parent 130d10b
@adou600 adou600 authored
Showing with 35 additions and 20 deletions.
  1. +20 −11 README.md
  2. +15 −9 src/Cmf/MainBundle/DataFixtures/static/page.yml
View
31 README.md
@@ -1,4 +1,4 @@
-# Symfony CMF Standard Edition
+# Symfony2 CMF Website
### You will need:
* Git 1.6+
@@ -7,12 +7,18 @@
* phpunit 3.6+ (optional)
* composer
+## Installation
+To get the website running, first clone the repository:
+
+ $ git clone git://github.com/symfony-cmf/symfony-cmf-website.git
+ $ cd symfony-cmf-website
+
## Get the code
- curl -s http://getcomposer.org/installer | php --
- php composer.phar create-project symfony-cmf/standard-edition path/to/install
+ $ curl -s http://getcomposer.org/installer | php --
+ $ php composer.phar install
-This will fetch the main project and all it's dependencies.
+This will fetch the vendors and all it's dependencies.
The next step is to setup the database:
@@ -21,28 +27,31 @@ The next step is to setup the database:
app/console doctrine:phpcr:register-system-node-types
app/console doctrine:phpcr:fixtures:load
+### Setup your permissions - see [Setting up Permissions](http://symfony.com/doc/current/book/installation.html#configuration-and-setup).
+For Mac Os X users, when changing the owner of the cache folder, use '_www' instead of www-data.
+
## Access by web browser
Create an apache virtual host entry along the lines of
<Virtualhost *:80>
- Servername simple-cms.lo
- DocumentRoot /path/to/symfony-cmf/symfony-cmf-standard/web
- <Directory /path/to/symfony-cmf/symfony-cmf-standard>
+ Servername http://cmf-website.lo
+ DocumentRoot /path/to/symfony-cmf/symfony-cmf-website/web
+ <Directory /path/to/symfony-cmf/symfony-cmf-website>
AllowOverride All
</Directory>
</Virtualhost>
-And add an entry to your hosts file for "simple-cms.lo"
+And add an entry to your hosts file for "cmf-website.lo"
If you are running Symfony2 for the first time, run http://simple-cms.lo/config.php to ensure your
system settings have been setup inline with the expected behaviour of the Symfony2 framework.
-Then point your browser to http://simple-cms.lo/app_dev.php or http://simple-cms.lo
+Then point your browser to http://cmf-website.lo/app_dev.php
+
+## Run tests
Functional tests are written with PHPUnit. Note that Bundles and Components are tested independently.
app/console doctrine:phpcr:workspace:create standard_test
phpunit -c app
-
-[![Build Status](https://secure.travis-ci.org/symfony-cmf/symfony-cmf-standard.png?branch=master)](http://travis-ci.org/symfony-cmf/symfony-cmf-standard)
View
24 src/Cmf/MainBundle/DataFixtures/static/page.yml
@@ -26,20 +26,26 @@ static:
<h2>Try it out</h2>
<pre>
- Get the code
- curl -s http://getcomposer.org/installer | php --
- php composer.phar create-project symfony-cmf/standard-edition path/to/install
+ Get the code:
- This will fetch the main project and all it's dependencies.
+ $ git clone git://github.com/symfony-cmf/symfony-cmf-website.git
+ $ cd symfony-cmf-website
- The next step is to setup the database:
+ $ curl -s http://getcomposer.org/installer | php --
+ $ php composer.phar install
+
+ This will fetch the vendors and all it's dependencies.
+
+ Setup the database:
+
+ app/console doctrine:database:create
+ app/console doctrine:phpcr:init:dbal
+ app/console doctrine:phpcr:register-system-node-types
+ app/console doctrine:phpcr:fixtures:load
- app/console doctrine:database:create
- app/console doctrine:phpcr:init:dbal
- app/console doctrine:phpcr:register-system-node-types
- app/console doctrine:phpcr:fixtures:load
</pre>
+ <p><a href="https://github.com/symfony-cmf/symfony-cmf-website">See the complete installation doc on GitHub</a></p>
<h2>Slides</h2>
<ul>
Please sign in to comment.
Something went wrong with that request. Please try again.