Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.436 kb
require 'sinatra-dj'
require File.dirname(__FILE__) + "/vendor/delayed_job/tasks/tasks"
desc "One time task to setup on Heroku"
task :create do
sh "heroku create"
sh "git push heroku master"
sh "heroku rake db:migrate"
sh "heroku addons:add dj"
sh "heroku open"
end
namespace :db do
task :migrate do
ActiveRecord::Migrator.migrate(
'db/migrate',
ENV["VERSION"] ? ENV["VERSION"].to_i : nil
)
end
end
Jump to Line
Something went wrong with that request. Please try again.