Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rake create

  • Loading branch information...
commit 4b0ae832e1075708a6c3faebe5aac02c09b142c5 1 parent 68bac1e
Blake Mizerany authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 Rakefile
9 Rakefile
View
@@ -1,6 +1,15 @@
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(
Please sign in to comment.
Something went wrong with that request. Please try again.