A project worked on over the course of May ~ September 2015.
Please ask us about it!
Began work under the Stevens Institute of Technology Scholars Program
- Install monogodb (3.0.x) or newest (make sure compatible)
- Create database
- Create mongo user: API with credentials:
db.createUser( {
user:'admin',
pwd:'password',
roles:[ { role: "readWrite", db: "database" } ]
}
)
- Install python3.4
- Create virtualenv for api
- Install from the requirements file: pip install -r requirements.txt
- Install jpeg libs with sudo apt-get install libjpeg-dev
- Install aws command line interface (using pip)
- Setup aws with credentials:
- COMMAND: aws configure
- access_key:'access',
- secret_key:'secret'
- region:'us-east-1'
- Install wkhtmltopdf with sudo apt-get install wkhtmltopdf
- https://github.com/JazzCore/python-pdfkit/blob/master/travis/before-script.sh
- ^ For ubuntu/debian
Open the python3.4 console and import run_updater from APP.mongoUpdater
Run it!