Skip to content

devw/symfony-veetnecni

Repository files navigation

Installation

Install the dependencies with composer (assuming you have composer available globally and named composer):

composer install

Create your database (through PhpMyAdmin). Then create the tables in the database:

php app/console doctrine:migrations:migrate

For the prod environment, you also need to dump the assetic files and warmup the cache:

php app/console --env=prod --no-debug assetic:dump
php app/console --env=prod --no-debug cache:clear --no-warmup
php app/console --env=prod --no-debug cache:warmup

Loading fixtures

The projects provides some fixtures to allow having data for the development. It will provide 2 known users: admin@example.org/test and user@example.org/logsafe. Loading the fixtures is done through the console:

php app/console doctrine:fixtures:load

Running the testsuite

PHP

The tests are written using PHPUnit so you need to install PHPUnit 3.6. Then, you can run the tests by running phpunit at the root of the project.

Vendor asset versions

This section allows to track the version of the vendor assets we use, to know if we need to update them. It should be a git reference (tag name or commit hash) whenever the project is hosted with git.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors