Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

e100 challenge

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

E100

A Symfony2 project.

How to install

    $ cp app/config/parameters.yml.dist app/config/parameters.yml
    $ edit app/config/parameters.yml
    $ php composer.phar install
    $ php app/console assets:install --symlink web
    $ php app/console assetic:dump -e prod --no-debug

    $ php app/console doctrine:database:create
    $ php app/console doctrine:schema:create
    $ php app/console doctrine:fixtures:load

    $ php app/console e100:import:comment data/comments.xlsx

Translation files of texts are loaded with the command

    $ php app/console e100:import:comment data/filename.xlsx --language="locale"

A user is created from fixtures with credential

 user : admin
 pass : password

After a pull

    $ php app/console doctrine:migrations:migrate

How to deploy

We use Capifony to handle deployment.

Installation

Install Capifony:

    $ gem install capifony

Configure the deploy script:

    $ cp app/config/deploy.rb.dist app/config/deploy.rb
    $ edit app/config.deploy.rb # and change all 'CHANGE ME' flag

Deploy

   $ cap deploy:migrations

FIX ME

Hard cache clearing

Something went wrong with that request. Please try again.