From e0d53eb7eb605480faa8eeb23ef2f718e82dffa3 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 23 Nov 2016 20:51:24 +0100 Subject: [PATCH] Documentation --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 68ce683..4892e6a 100644 --- a/README.md +++ b/README.md @@ -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 ```