symfony-cmf-website
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:[website is discontinued] Website for the Symfony CMF
[![Build Status](https://travis-ci.org/symfony-cmf/symfony-cmf-website.svg?branch=master)](https://travis-ci.org/symfony-cmf/symfony-cmf-website)

# Symfony 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](http://symfony.com/doc/current/book/installation.html#configuration-and-setup).
[![StyleCI](https://styleci.io/repos/806312/shield)](https://styleci.io/repos/806312)
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

    
        Servername http://cmf-website.lo
        DocumentRoot /path/to/symfony-cmf/symfony-cmf-website/web
        
            AllowOverride All
        
    

And add an entry to your hosts file for "cmf-website.lo"

If you are running Symfony for the first time, run http://cmf-website.lo/config.php to ensure your
system settings have been setup inline with the expected behaviour of the Symfony 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

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。