From 99cf3b0cece7e1e94f17a4a40804c8d35a0d123b Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 28 May 2014 22:47:22 -0600 Subject: remove unused files and update deploy tasks. --- script/bootstrap-vagrant.sh | 20 -------------------- script/bootstrap.sh | 2 -- script/deploy-production.sh | 3 +-- script/deploy-staging.sh | 2 +- 4 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 script/bootstrap-vagrant.sh (limited to 'script') diff --git a/script/bootstrap-vagrant.sh b/script/bootstrap-vagrant.sh deleted file mode 100644 index 9ba5bb01..00000000 --- a/script/bootstrap-vagrant.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -cd /home/vagrant -\curl -L https://get.rvm.io | bash -s stable - -source /home/vagrant/.profile -source /home/vagrant/.rvm/scripts/rvm - -rvm install 2.1.1 -rvm use 2.1.1 --default - -#gem source -r http://rubygems.org/ -#gem install bundler - -source /home/vagrant/.bashrc -source /home/vagrant/.bash_profile -source /home/vagrant/.profile - -cd /vagrant -bundle install diff --git a/script/bootstrap.sh b/script/bootstrap.sh index 2964e8c1..9a8a35f7 100644 --- a/script/bootstrap.sh +++ b/script/bootstrap.sh @@ -30,5 +30,3 @@ apt-get -y install zlib1g-dev libssl-dev apt-get -y install libreadline-gplv2-dev # Install some nokogiri dependencies: apt-get -y install libxml2 libxml2-dev libxslt1-dev - -su -c 'bash /vagrant/script/bootstrap-vagrant.sh' vagrant diff --git a/script/deploy-production.sh b/script/deploy-production.sh index 3b21466d..20f78404 100644 --- a/script/deploy-production.sh +++ b/script/deploy-production.sh @@ -1,3 +1,2 @@ #!/bin/bash -x -git checkout master -bundle exec rake ci:deploy:production --trace +bundle exec cap production deploy:migrations diff --git a/script/deploy-staging.sh b/script/deploy-staging.sh index 12b3801e..66b6d555 100644 --- a/script/deploy-staging.sh +++ b/script/deploy-staging.sh @@ -1,2 +1,2 @@ #!/bin/bash -x -bundle exec rake ci:deploy:staging --trace +bundle exec cap staging deploy:migrations -- cgit v1.2.3