A simple example to deploy you own dice.io server on Heroku.
This document assume that :
- Heroku CLI is installed
- You are logged in to you Heroku account (ie:
heroku login
) - You have created an application. For example
my-app-name
Clone this repository :
$ git clone https://github.com/tpftg/diceio-heroku.git
$ cd diceio-heroku
Add my-app-name
Heroku remote branch :
$ heroku git:remote -a my-app-name
Deploy your application :
$ git push heroku master
When deployment ends, the demo application should be available, for example, at https://my-app-name.herokuapp.com
url.
It is recommended to enable session affinity :
$ heroku features:enable http-session-affinity