This is the repository for the Fix That Code project.
##Running it locally
-
Add your database config details to
parameters.ymlfile in app/config (or create a new one usingapp/config/parameters.yml.dist) -
Prepare folder permissions by running (double check your apache user on the first one):
sudo chmod -Rf +a "daemon allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs sudo chmod -Rf +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs -
Download dependencies by running the command below:
php composer.phar install -
Configure your vhost and make sure you have this in it:
SetEnv APP_ENV dev -
Create the database (default name 'ftc' in parameters.yml') and run setup command:
app/console doctrine:schema:create -
Fire it up!