Airlines is a virtual team board manager, allowing every member to handle his tasks on a weekly basis.
All commands shall be ran at the application's root unless otherwise specified.
Note : using NPM is optional, but not doing so will prevent you from working on the app's front-end.
- Make sure you have Composer and Node.js / NPM installed
- Install gulp globally :
npm install -g gulp - Run
composer installto install back-end dependencies - Run
npm installto install front-end dependencies
You can also install Airlines using Docker. If you are interested in using this method, just follow the guide.
Run gulp to compile development assets, start the livereload server and have your browser opened at the app's root.
Note : The URL reached by the latter can be specified in the open.json file created by the build if it does not exist. You can also force the use of a specific browser with the app parameter (see gulp-open's documentation about that).
If you are unfamiliar with running Symfony applications, you may want to RTFM.
TL;DR: if your PHP is >= 5.4, run php app/console server:start to run the app on localhost:8000.
Otherwise, upgrade it.
- Run PHP tests with
phpunit(the--testdoxoption can be used for a more behavior-driven results display) - Run JS tests with
jest
Run gulp --dist to compile production-ready assets.