diff --git a/README.md b/README.md index 14a672e..4a1c6c8 100644 --- a/README.md +++ b/README.md @@ -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