e100 challenge
CSS PHP HTML JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
data
src
web
.gitignore
.htaccess
Capfile
Gemfile
Gemfile.lock
README.md
VERSION
composer.json
composer.lock
composer.phar

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