Clone the project and install the dependences:
$ git clone git@github.com:brunoannunciato/unify.git && cd unify;
$ composer install
$ npm install
$ cp config/app.default.php config/app.php
Set the database config in config/app.php
line 257
then create the database:
$ mysql -u root -p
$ drop database unify; create database unify;
Run the migrations:
$ bin/cake migrations migrate
Run the seeds:
$ bin/cake migrations seed --seed=QuestionsSeed
$ bin/cake migrations seed --seed=AnswersSeed
$ bin/cake migrations seed --seed=SchoolsSeed
$ bin/cake migrations seed --seed=UsersSeed
To run the project:
$ bin/cake server