Permalink
Browse files

Started working on the deployment steps

  • Loading branch information...
1 parent 6e2f5ed commit 160fd20948f10017117b18dd207fbe11f7fa78f9 @rbgrouleff committed Sep 27, 2012
Showing with 28 additions and 9 deletions.
  1. +4 −9 lib/wheelbarrow.rb
  2. +24 −0 lib/wheelbarrow/wagonload.rb
View
@@ -1,13 +1,8 @@
require "wheelbarrow/version"
+require "wheelbarrow/wagonload"
module Wheelbarrow
- # Deployment steps:
- #
- # Git pull from repo to deploy dir
- #
- # rake db:migrate
- #
- # asset precompiling
- #
- # restart unicorn
end
+
+puts `ls`
+puts $?.exitstatus
@@ -0,0 +1,24 @@
+module Wheelbarrow
+ class Wagonload
+ def initialize(deployment_dir, repo)
+ @deployment_dir = deployment_dir
+ @repo = repo
+ end
+
+ # Git pull from repo to deploy dir
+ def pull
+ end
+
+ # rake db:migrate
+ def run_migrations
+ end
+
+ # asset precompiling
+ def assets_precompiling
+ end
+
+ # restart unicorn
+ def restart_unicorn
+ end
+ end
+end

0 comments on commit 160fd20

Please sign in to comment.