correct way to generate prod js and css.


$ php app/console assets:install
$ php app/console fos:js-routing:dump
$ php app/console assetic:dump --no-debug
prod server:
$ svn up
$ rm app/cache/prod -rf
$ sudo service php-fpm restart
$ sudo service apache2 restart 

评论

热门博文