Git Product home page Git Product logo

symfony-cmf-website's Introduction

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
app/console doctrine:phpcr:repository:init
app/console doctrine:phpcr:fixtures:load

Setup your permissions - see Setting up Permissions.

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

symfony-cmf-website's People

Contributors

adou600 avatar asiragusa avatar daaitch avatar dantleech avatar davidromani avatar dbu avatar dongilbert avatar dpobel avatar electricmaxxx avatar freddyhaddad avatar garak avatar gezpage avatar herzult avatar jakuza avatar joschi127 avatar jwage avatar lsmith77 avatar mbontemps avatar ornicar avatar petk avatar rmsint avatar tiagojsag avatar uwej711 avatar weaverryan avatar wouterj avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.