Permalink
Browse files

rake create

  • Loading branch information...
1 parent 68bac1e commit 4b0ae832e1075708a6c3faebe5aac02c09b142c5 @bmizerany committed Oct 20, 2009
Showing with 9 additions and 0 deletions.
  1. +9 −0 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(

0 comments on commit 4b0ae83

Please sign in to comment.