summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-05-28 22:47:22 -0600
committermo khan <mo@mokhan.ca>2014-05-28 22:47:22 -0600
commit99cf3b0cece7e1e94f17a4a40804c8d35a0d123b (patch)
tree493a3a308981860852b0d7685ce01a4cb6061fe9 /script
parenta56376b3c39e03463171edc8ed0f3a68efd91006 (diff)
remove unused files and update deploy tasks.
Diffstat (limited to 'script')
-rw-r--r--script/bootstrap-vagrant.sh20
-rw-r--r--script/bootstrap.sh2
-rw-r--r--script/deploy-production.sh3
-rw-r--r--script/deploy-staging.sh2
4 files changed, 2 insertions, 25 deletions
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