Im cloning a Git repo from our server. When I do so files from the gitignore are missing, obviusly. And like this page says, http://symfony.com/doc/current/cookbook/workflow/new_project_git.html, the folder/files that should be ignored are:
/web/bundles/
/app/bootstrap*
/app/cache/*
/app/logs/*
/vendor/
/app/config/parameters.yml
But then how to install all the bundles etc. Im trying to run php app/console cache:clear --env=prod --no-debug
and it obviusly gives an error since there are files missing.
PHP Warning: require_once(/Users/david/Sites/cliico/app/bootstrap.php.cache): failed to open stream: No such file or directory in /Users/david/Sites/cliico/app/console on line 10
PHP Fatal error: require_once(): Failed opening required '/Users/david/Sites/cliico/app/bootstrap.php.cache' (include_path='.:/usr/lib/php/pear') in /Users/david/Sites/cliico/app/console on line 10
There must be an easy way to recreate those folders that the people from Symfony2 reccomend to ignore.
Thanks