0
votes

i didnt understand how assets:install works..

When i run php app/console assets:install web it copy these bundles.

Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodistribution

I want to copy my project to app.php, the project is in /src/Dproc/..bundles..

How should i do that?

1
app.php is just a file, It makes no sense to copy something into a file. - zerkms
yes, how i can switch enviorment? - Tiko M
you just start requesting app.php not app_dev.php - zerkms
yes, but my code works on app_dev.php, when i'm opening app.php - it's not showing the whole code, i guess i need to copy my project to app enviorment or? - Tiko M
it should work. If it doesn't - you've made something wrong - zerkms

1 Answers

0
votes

Switching to the prod environment:

php app/console cache:clear --env=prod