I'm tired of forgetting how to setup symfony2 to create quick projects, so I thought I'd setup this basic thing to get up and running quick.
It contains:
- Bootstrap and a basic layout.html.twig
- Angular.js
- jQuery.js
- Simply clone this, or copy it, then delete the .git so you can create a new git repo.
- Run
php composer.phar update rm -rf app/cache/*rm -rf app/logs/*sudo chmod +a "_www allow delete,write,append,file_inherit,directory_inherit" app/cache app/logssudo chmod +a "``whoami`` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs- If you get any trouble after this, restart apache.
Alternatively, if you're on ubuntu, use this link to set file permissions: http://vvv.tobiassjosten.net/symfony/symfony2-file-permissions-in-ubuntu/