The Event Server part of PredictionIO offers an endpoint where event data can be posted from multiple systems. The data collected can be used to train the model. In Chapter 3, Building Smarter Apps Using PredictionIO and Heroku, we saw how one can build an Event Server on a local Mac machine using PredictionIO and PostgreSQL. In this chapter, we will cover how one can deploy the engine on Heroku.
The following are the steps to deploy an Event Server app on Heroku:
- Log on to your Heroku instance organization. You can get one for free from https://signup.heroku.com/ if you have not signed up.
- Navigate to the git repository (https://github.com/msrivastav13/pio-eventserver-heroku) and click on the Deploy to heroku button to deploy the Event Server on Heroku.
You can name the app. Once deployed, the app will be listed. Also, note that there...