Skip to content

How to: Deploy to Heroku

and7ey edited this page Feb 28, 2016 · 5 revisions

Since Dashing is simply a Sinatra Rack app under the hood, deploying is a breeze. It takes around 30 seconds to do :)

###Create a git repo for your project, and add your files.

bundle install
git init
git add .
git commit -m "My beautiful dashboard"

###Create the application on Heroku

heroku apps:create myapp

Push the application to Heroku

git push heroku master

Free dyno usage notice

Dashing relies on a history file to maintain persistence across restarts. Heroku filesystems are read-only.

When your dyno idles down, because it's a free dyno, the contents of memory should be safe in the history.yml file -- but on Heroku they are nowhere.

If you'd like to use Dashing as a storage layer for your application, it is suggested to implement the techniques described in #330.

Clone this wiki locally