aboutsummaryrefslogtreecommitdiffstats
path: root/vagrant/bootstrap.sh
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-04-01 09:51:51 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-04-01 09:51:51 +0200
commite4dec2bc26ef55c550c91c329f382bc6f087284b (patch)
tree64a40d40b528db7fba643000347713e6bf968aef /vagrant/bootstrap.sh
parentdbff5212481f4c113b68d584fac57b6feea4fbbd (diff)
downloadhmnoweb-e4dec2bc26ef55c550c91c329f382bc6f087284b.tar.gz
hmnoweb-e4dec2bc26ef55c550c91c329f382bc6f087284b.tar.bz2
hmnoweb-e4dec2bc26ef55c550c91c329f382bc6f087284b.zip
Fix bootstrapping vagrant environment.
- just start postgresql instead of restarting everything after install. - update setup script to install required ruby version and deps if not installed. - seed database when running the dev:setup rake task.
Diffstat (limited to 'vagrant/bootstrap.sh')
-rw-r--r--vagrant/bootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh
index 22e8f3c..8b3fad2 100644
--- a/vagrant/bootstrap.sh
+++ b/vagrant/bootstrap.sh
@@ -7,4 +7,4 @@ echo 'eval "$(rbenv init -)"' >> /home/vagrant/.bash_profile
chsh -s /usr/local/bin/bash vagrant
service postgresql initdb
-service -R
+service postgresql start