update readme

This commit is contained in:
Bilal Catic
2019-07-08 20:46:14 +02:00
parent 0560d1cb78
commit 129e6e78d6

View File

@@ -23,6 +23,19 @@ If everything works correctly, it is possible to connect to database with :
Open app on http://localhost:3000
NOTE : command `npm run check-booking-changes` will check for booking changes and
create incidents (if needed)
#### Heroku Scheduler Setup
To setup booking change tracking, follow next steps :
1. Add `Heroku Scheduler` to your app (https://elements.heroku.com/addons/scheduler)
2. Open `Resources` tab
3. Select `Heroku Scheduler`
4. Click `Add Job`, tab on the right will open
5. Select interval and for command to execute, insert `npm run check-booking-changes`
6. Hit `Save Job`
#### Useful NPM scripts
There are few scripts to handle some operations faster, without copy-pasting commands to terminal