adds Vagrantfile and setup script to setup the project

This commit is contained in:
avichalp
2016-01-23 22:42:26 +05:30
parent 669cf1cb70
commit cb8fb4a820
3 changed files with 31 additions and 0 deletions

12
vagrant/setup.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# install packages
sudo apt-get update
sudo apt-get build-dep -y python-imaging
sudo apt-get install -y libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev
sudo apt-get install -y build-essential python-dev python-pip sqlite3 libsqlite3-dev git
# setup python project
pushd /opt/paperless
sudo pip install -r requirements.txt
popd