Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
[In Development] Open Source Issue Management software based on Symfony2 Framework
PHP JavaScript CSS

Merge pull request #171 from tickit-project/feature/cleaner-namespacing

Project repositories and managers sub-namespaces
latest commit e575323cb9
@markwilson markwilson authored

README.md

Dependency Badge Coverage Status

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...

  1. Copy app/config/parameters.yml.dist to app/config/parameters.yml and add in your own database/mailer configuration.

  2. To correctly set the permissions on the cache and logs directories, 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
    

    The www-data user should be replaced with whatever user your apache / nginx service is running as

  3. Install Composer

    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.

  4. 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 src folder. If there are any problems ensure that your database privileges and credentials are okay.

  5. Import data fixtures by running the following command in your project directory...

    php app/console doctrine:fixtures:load
    
  6. Install NodeJS from http://nodejs.org

  7. Update your parameters.yml paths for node_bin to point to your node binary

  8. Install node modules...

    cd app/Resources && npm install && cd ../../
    
  9. Install JS dependencies with bower...

    bin/bower install
    
Something went wrong with that request. Please try again.