Quick Setup Guide for Developers
Note: while in development, browser cache should be disabled.
Tickit will eventually come with a self-installer, but whilst development is still on-going you get started with the project by running through these steps...
app/config/parameters.ymland add in your own database/mailer configuration.
To correctly set the permissions on the
logsdirectories, run the following commands from your server (OSX based systems)
$ APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data' | grep -v root | head -1 | cut -d\ -f1` $ sudo chmod +a "$APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs $ sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs
www-datauser should be replaced with whatever user your apache / nginx service is running as
As Symfony2 uses Composer to manage its dependencies, Tickit manages external libraries the same way.
If you don't have Composer yet, just run the following command from your project directory
curl -s http://getcomposer.org/installer | php
You then need to install vendor libraries using...
php composer.phar install
It should install all required vendor bundles.
Run the following commands from the project directory in your terminal...
php app/console doctrine:database:create php app/console doctrine:schema:create
This should create your database schema from the entities in the bundles located in the
srcfolder. If there are any problems ensure that your database privileges and credentials are okay.
Import data fixtures by running the following command in your project directory...
php app/console doctrine:fixtures:load
Install NodeJS from http://nodejs.org
Update your parameters.yml paths for
node_binto point to your node binary
Install node modules...
cd app/Resources && npm install && cd ../../
Install JS dependencies with bower...