From f630f478b771d0c7a46758f32c79f7d1ccd118ec Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 9 Feb 2015 16:53:00 +0100 Subject: Misc changes for the Vagrant configuration. --- vagrant/Vagrantfile | 2 +- vagrant/bootstrap.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'vagrant') diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile index 78fe061e..ee48ae73 100644 --- a/vagrant/Vagrantfile +++ b/vagrant/Vagrantfile @@ -11,7 +11,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Every Vagrant virtual environment requires a box to build off of. config.vm.box = "pyAggr3g470r (Ubuntu Trusty Server)" - config.vm.box_url = "https://dl.dropboxusercontent.com/s/rnc0p8zl91borei/heroku.box" + config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/utopic/current/utopic-server-cloudimg-amd64-vagrant-disk1.box" config.vm.provision :shell, path: "bootstrap.sh" # Disable automatic box update checking. If you disable this, then diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 79697cf7..68b0e030 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -17,12 +17,14 @@ cd pyaggr3g470r apt-get install -y libxml2-dev libxslt1-dev # installation with pip sudo pip3 install --upgrade -r requirements.txt +sudo pip3 uninstall feedparser +sudo apt-get install -y python3-feedparser # copy of the default configuration files for vagrant cp vagrant/conf.cfg-sample conf/conf.cfg cd .. # Installation of PostgreSQL -apt-get install -y postgresql postgresql-server-dev-9.3 postgresql-client +apt-get install -y postgresql postgresql-server-dev-9.4 postgresql-client # Configuration of the database echo "127.0.0.1:5432:aggregator:vagrant:xxYzToW42" > .pgpass -- cgit