This is a Heroku buildpack for tDiary application. It designed to use with the heroku official ruby buildpack.
'Deploy to Heroku' Button is enabled.
Clone tDiary repository.
$ git clone https://github.com/tdiary/tdiary-core
Create your tDiary instance on heroku.
$ cd tdiary-core
$ heroku create
$ heroku addons:create sendgrid
$ heroku addons:create memcachier
$ heroku addons:create mongolab
$ heroku config:set GITHUB_KEY=YOUR_GITHUB_KEY
$ heroku config:set GITHUB_SECRET=YOUR_GITHUB_SECRET
$ heroku config:set GITHUB_NAME=YOUR_GITHUB_NAME
Set buildpacks.
$ heroku buildpacks:set https://github.com/tdiary/heroku-buildpack-tdiary
$ heroku buildpacks:add heroku/ruby
Build and deploy.
$ git push heroku master
$ heroku run
Open your tDiary site in a web browser.
$ heroku open
This buildpack sets up some files (e.g. Gemfile.lock
, tdiary.conf
) to build tDiary on heroku.
- Delete original
Gemfile.lock
file - Copy files in
misc/paas/heroku
directory to root directory
It does only preparation. Official heroku ruby buildpack is also needed.
Please read offical tdiary document (in Japanese).