The project depends on a series of node packages
composer install
npm install
The main CSS code is compiled from SASS using gulp
gulp
Laravel provides job queues, which we use to handle sending email.
To monitor the queue worker we use supervisor, a process monitor for linux. Supervisor will run different processes and automatically restart them if they stop for any readon. The command to run the queue worker is:
artisan queue:work --sleep=3 --tries=5 --daemon
Since daemon queue workers are long-lived processes, they will not pick up changes in your code without being restarted. To do so:
php artisan queue:restart
artisan schedule:run
command, which is in charge of laravel's task scheduler, allows cronjob like behaviour with php. All the commands that the scheduler will run are specified in app/Console/Kernel.php
, under the schedule()
function. A single cronjob entry is required:
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
- Laravel 5 - The PHP framework used
- Angular.js - The JavaScript framework used for retrieving and displaying data
- jQuery 2 - The JavaScript framework used for minor modifications in the GUI
- Gulp - SASS compiler
- Bootstrap 3 - Front end framework
- npm - Dependency Management