A Sinatra-based Tumblr client that re-enables stable dashboard pagination but does BASICALLY nothing else.
-
Set
TUMBLR_CONSUMER_KEY
,TUMBLR_CONSUMER_SECRET
, andSESSION_SECRET
in_env
. (A Tumblr consumer key and secret can be acquired by registering an application at https://www.tumblr.com/oauth/apps; a session secret should be generated randomly for each device you deploy the app on.) -
Rename
_env
to.env
. -
Run command:
bundle exec shotgun config.ru
- Push to Heroku:
heroku create
git push heroku master
- Set Heroku config variables
TUMBLR_CONSUMER_KEY
,TUMBLR_CONSUMER_SECRET
, andSESSION_SECRET
. This can be done either via the Heroku app dashboard, or using the CLI:
heroku config:set TUMBLR_CONSUMER_KEY=...
heroku config:set TUMBLR_CONSUMER_SECRET=...
heroku config:set SESSION_SECRET=...
http://os.alfajango.com/heroku-sinatra-mvc/
git://github.com/JangoSteve/heroku-sinatra-app.git