Permalink
Browse files

Cleaned up the bin/ folder and the Plowfile

  • Loading branch information...
1 parent abe5d7d commit 94d96a52421b9758d3cc55fed1bf510defcff1e7 @mm53bar mm53bar committed Mar 11, 2013
Showing with 11 additions and 27 deletions.
  1. +2 −10 Plowfile
  2. +0 −6 bin/deploy
  3. +2 −0 bin/gitrev
  4. +0 −2 bin/migrate
  5. +0 −3 bin/start
  6. +0 −2 bin/status
  7. +0 −2 bin/stop
  8. +7 −2 install.sh
View
@@ -1,16 +1,8 @@
RECIPES=(
- https://gist.github.com/mm53bar/5053150/raw/545089b862a29d1029b8df6005b4b422d3363986/test
- https://gist.github.com/mm53bar/5053150/raw/0e870a3a0842f9eb1129f546baf1f63febcac70c/gitrev
- https://raw.github.com/mm53bar/plow/recipes/bin/deploy
- https://raw.github.com/mm53bar/plow/recipes/bin/migrate
- https://raw.github.com/mm53bar/plow/recipes/bin/start
- https://raw.github.com/mm53bar/plow/recipes/bin/stop
- https://raw.github.com/mm53bar/plow/recipes/bin/status
- https://raw.github.com/mm53bar/plow/recipes/bin/whoami
- https://gist.github.com/mm53bar/5053150/raw/a5f15f20e3f6bae7739dc5ec5621daa8de975ac1/nginx_unicorn
+ https://raw.github.com/mm53bar/plow/master/bin/whoami
+ https://raw.github.com/mm53bar/plow/master/bin/gitrev
)
FILES=(
- ~/Dropbox/AMA/accounts.yml
~/.ssh/id_rsa.pub
)
View
@@ -1,6 +0,0 @@
-cd $DEPLOY
-git fetch origin && git reset --hard $REMOTE_REF
-(git rev-parse HEAD > $DEPLOY/REVISION)
-bin/bundle install --deployment --quiet --binstubs --without development test
-bin/foreman run rake assets:precompile
-bin/bluepill --no-privileged -c $DEPLOY/tmp restart
View
@@ -0,0 +1,2 @@
+cd $DEPLOY
+git rev-parse HEAD
View
@@ -1,2 +0,0 @@
-cd $DEPLOY
-bin/foreman run rake db:migrate
View
@@ -1,3 +0,0 @@
-cd $DEPLOY
-bin/bluepill --no-privileged -c $DEPLOY/tmp load ./config/bluepill.rb
-
View
@@ -1,2 +0,0 @@
-cd $DEPLOY
-bin/bluepill --no-privileged -c $DEPLOY/tmp status
View
@@ -1,2 +0,0 @@
-cd $DEPLOY
-bin/bluepill --no-privileged -c $DEPLOY/tmp stop
View
@@ -32,7 +32,12 @@
# Download the plow scripts
- curl -s -L https://raw.github.com/mm53bar/plow/recipes/bin/plow -o bin/plow
+ curl -s -L https://raw.github.com/mm53bar/plow/master/bin/plow -o bin/plow
+
+# Downoad support files
+
+ curl -s -L https://raw.github.com/mm53bar/plow/master/Plowfile -o Plowfile
+ curl -s -L https://raw.github.com/mm53bar/plow/master/.env.sample -o .env.sample
# Set the permissions for the scripts
@@ -42,4 +47,4 @@
echo 'Installed!'
echo
- echo 'Be sure to update .env.sample. Then copy it to .env.'
+ echo 'Be sure to update .env.sample. Then copy it to .env.production'

0 comments on commit 94d96a5

Please sign in to comment.