aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-09 16:53:00 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-09 16:53:00 +0100
commitf630f478b771d0c7a46758f32c79f7d1ccd118ec (patch)
treed9435a909cebacb008b757f0c747c2122673a869
parentHeroku stack (diff)
downloadnewspipe-f630f478b771d0c7a46758f32c79f7d1ccd118ec.tar.gz
newspipe-f630f478b771d0c7a46758f32c79f7d1ccd118ec.tar.bz2
newspipe-f630f478b771d0c7a46758f32c79f7d1ccd118ec.zip
Misc changes for the Vagrant configuration.
-rw-r--r--vagrant/Vagrantfile2
-rw-r--r--vagrant/bootstrap.sh4
2 files changed, 4 insertions, 2 deletions
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
bgstack15