Skip to content
Snippets Groups Projects
Commit 2c4b8220 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

update the vagrant box and psql so that we are similar to heroku

parent be58070d
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,8 @@ Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "torchbox/wagtail-jessie64"
config.vm.box_version = "~> 2.0"
config.vm.box = "torchbox/wagtail-stretch64"
config.vm.box_version = "~> 1.0.0"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
......
......@@ -9,6 +9,11 @@ VIRTUALENV_DIR=/home/vagrant/.virtualenvs/$PROJECT_NAME
PYTHON=$VIRTUALENV_DIR/bin/python
PIP=$VIRTUALENV_DIR/bin/pip
# Upgrade to postgres 10
apt-get update -y
apt-get remove -y --purge postgresql-*
apt-get install -y postgresql-10 postgresql-client-10 postgresql-contrib-10
su - postgres -c "createuser -s vagrant"
# Create database
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment