diff --git a/Vagrantfile b/Vagrantfile index 587c3c4..8ec4b46 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -7,11 +7,11 @@ Vagrant.configure("2") do |config| # please see the online documentation at vagrantup.com. # Every Vagrant virtual environment requires a box to build off of. - config.vm.box = "precise64" + config.vm.box = "hashicorp/precise64" # The url from where the 'config.vm.box' box will be fetched if it # doesn't already exist on the user's system. - config.vm.box_url = "http://files.vagrantup.com/precise64.box" + # config.vm.box_url = "http://files.vagrantup.com/precise64.box" # Create a forwarded port mapping which allows access to a specific port # within the machine from a port on the host machine. In the example below, diff --git a/bootstrap.sh b/bootstrap.sh index 5c89db8..81a132f 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -4,10 +4,9 @@ apt-get update -y apt-get install build-essential -y cd /vagrant xargs -a apt-packages.txt apt-get install -y - -pip install -r pre-requirements.txt -pip install -r requirements.txt -alembic upgrade head +pip install -r pre-requirements.txt -i https://pypi.python.org/simple +pip install -r requirements.txt -i https://pypi.python.org/simple +PYTHONPATH=. alembic upgrade head service scan start service celery start \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index fcd2afb..4a380f3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ py-bcrypt==0.4 pudb==2013.5.1 Flask-Babel==0.9 Flask-WTF==0.9.4 -celery[librabbitmq,redis,auth,msgpack]==3.1.9 +celery[librabbitmq,redis,auth,msgpack]==4.1 MySQL-python==1.2.5 gunicorn==18.0 nose==1.3.0