- >=PHP5.5.9
- NodeJS and NPM
- Composer (run
curl -sS https://getcomposer.org/installer | php
) - MySQL
cd /var/www && git clone ...
- make sure that /var/www/koolbeans/public is the source directory of the web server
- run
mv .env.example .env
- change the configuration values in .env to what is necessary
- run
composer install
- run
npm install
- run
gulp
- run
php artisan migrate
(if you need to install the database) - run
php artisan optimize
- run
php artisan route:cache
(if it doesn't work, that's fine, app is not that big anyway) - run
crontab -e
as root and add* * * * * php /path/to/artisan schedule:run 1>> /dev/null 2>&1
If Xero stops working suddendly, upload a new keypair as stated http://developer.xero.com/documentation/advanced-docs/public-private-keypair/ and http://developer.xero.com/documentation/getting-started/private-applications/
The pem file should be stored as /etc/ssl/certs/koolbeans.pem