brownbaglunch / webhook

Webhook for brownbaglunch data repo
1 stars 3 forks source link

Deploy on Heroku #2

Closed dadoonet closed 8 years ago

dadoonet commented 8 years ago

You need to use the Heroku CLI:

brew install heroku

Log in to Heroku:

heroku login

To deploy on Heroku, create the Heroku application. It will basically create an Heroku application and add an "heroku" remote to your local git repository:

heroku create brownbaglunch-webhook

To deploy, run:

git add .
git push heroku master

Make sure you define needed system properties:

heroku config:set SOURCE=https://raw.githubusercontent.com/brownbaglunch/bblfr_data/gh-pages/baggers.js
heroku config:set TARGET=http://bblfr:password@localhost:9200
heroku config:set ALIAS=bblfr
heroku config:set TOKEN=12345678
heroku config:set PORT=5000