Website for the Symfony CMF
HTML PHP CSS ApacheConf
Latest commit cdee2dd Jan 29, 2017 @wouterj wouterj committed on GitHub Merge pull request #103 from symfony-cmf/cleanup
cleanup the naming and remove unmaintained bundles from home page
Permalink
Failed to load latest commit information.
.platform tweaked the platform.sh config Oct 30, 2015
app
src cleanup the naming and remove unmaintained bundles from home page Jan 29, 2017
web # This is a combination of 2 commits. Oct 12, 2016
.gitignore Do not ignore assets Aug 14, 2015
.platform.app.yaml added news for PHPCR ODM 1.3.0 and switched to PHP 5.6 Dec 29, 2015
.styleci.yml Introduced Style CI Dec 16, 2015
.travis.yml added news for PHPCR ODM 1.3.0 and switched to PHP 5.6 Dec 29, 2015
LICENSE license year updated Sep 8, 2013
README.md add build status icon Apr 23, 2016
composer.json do it again Oct 26, 2016
composer.lock do it again Oct 26, 2016

README.md

Build Status

Symfony2 CMF Website

You will need:

  • Git 1.6+
  • PHP 5.3.3+
  • php5-intl
  • 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 install

This will fetch the vendors and all it's dependencies.

The next step is to setup the database:

app/console doctrine:database:create
app/console doctrine:phpcr:init:dbal --force
app/console doctrine:phpcr:repository:init
app/console doctrine:phpcr:fixtures:load -n

Setup your permissions - see Setting up Permissions.

StyleCI 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 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 "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://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