Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1 KB

readme.md

File metadata and controls

28 lines (22 loc) · 1 KB

Requirements

  1. >=PHP5.5.9
  2. NodeJS and NPM
  3. Composer (run curl -sS https://getcomposer.org/installer | php)
  4. MySQL

Deployment

  1. cd /var/www && git clone ...
  2. make sure that /var/www/koolbeans/public is the source directory of the web server
  3. run mv .env.example .env
  4. change the configuration values in .env to what is necessary
  5. run composer install
  6. run npm install
  7. run gulp
  8. run php artisan migrate (if you need to install the database)
  9. run php artisan optimize
  10. run php artisan route:cache (if it doesn't work, that's fine, app is not that big anyway)
  11. run crontab -e as root and add * * * * * php /path/to/artisan schedule:run 1>> /dev/null 2>&1

Issues

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