Documentation

This commit is contained in:
Simon Vieille 2016-11-23 20:51:24 +01:00
parent ab634b971e
commit e0d53eb7eb
1 changed files with 7 additions and 0 deletions

View File

@ -25,8 +25,15 @@ $ php -r "unlink('composer-setup.php');"
$ php composer.phar install --ignore-plateform-reqs
$ php bin/console doctrine:database:create
$ php bin/console doctrine:schema:update --force
$ php bin/console assets:install --symlink web
$ php bin/console fos:js-routing:dump --target web/bundles/fosjsrouting/js/fos_js_routes.js
```
At each updates of API:
* edit `app/config/rest.yml` and expose new routes (@see `php bin/console debug:router`)
* run `php bin/console fos:js-routing:dump --target web/bundles/fosjsrouting/js/fos_js_routes.js`.
## Run
```