Reputation: 31548
I am learning Symfony, so I have only gotten to
Symfony/web/app_dev.php/demo/
But I'm still not able to find how to use command line.
I have shell access, but where to execute this command?
php app/console generate:bundle --namespace=Blogger/BlogBundle --format=yml
Upvotes: 1
Views: 609
Reputation: 16175
execute from root folder. The "console" (its a php file with no extension) file is in app/ folder. You can also go into that folder and run:
php console generate:bundle --namespace=Blogger/BlogBundle --format=yml
Upvotes: 0
Reputation: 9262
That command is meant to be run from your root symfony folder. If you have everything installed correctly, you should see the app directory listed when you use the ls
command. If you don't see the app directory, either you didn't install correctly or your in the wrong folder on your system.
Upvotes: 4