Vagrantfile and provision scripts for development

This commit is contained in:
Kyle Drake 2015-01-31 15:50:12 -08:00
parent 46883b2bdd
commit 9038141e28
16 changed files with 128 additions and 50 deletions

13
vagrant/development.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
DEBIAN_FRONTEND=noninteractive
. /vagrant/vagrant/common.sh
. /vagrant/vagrant/database.sh
. /vagrant/vagrant/ruby.sh
. /vagrant/vagrant/webapp.sh
ufw allow 9292
sudo su postgres -c "createuser -d vagrant"
sudo su vagrant -c "createdb neocities"
sudo su vagrant -c "createdb neocities_test"