Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
/ researchApi Public archive

A Flask REST api to manage shipments, users, and all the rest. Primarily built by @austincawley.

License

Notifications You must be signed in to change notification settings

ten-characters/researchApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api

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

Setup Guide:

  1. Install monogodb (3.0.x) or newest (make sure compatible)
  2. Create database
  3. Create mongo user: API with credentials:
    db.createUser( {  
    user:'admin',  
    pwd:'password',  
    roles:[ { role: "readWrite", db: "database" } ]
    }
)
  1. Install python3.4
    • Create virtualenv for api
    • Install from the requirements file: pip install -r requirements.txt
  2. Install jpeg libs with sudo apt-get install libjpeg-dev
  3. Install aws command line interface (using pip)
  4. Setup aws with credentials:
    • COMMAND: aws configure
    • access_key:'access',
    • secret_key:'secret'
    • region:'us-east-1'
  5. Install wkhtmltopdf with sudo apt-get install wkhtmltopdf
  6. https://github.com/JazzCore/python-pdfkit/blob/master/travis/before-script.sh
    • ^ For ubuntu/debian

Some Explanations

Updating to V1.1 from V1.0

Open the python3.4 console and import run_updater from APP.mongoUpdater
Run it!

About

A Flask REST api to manage shipments, users, and all the rest. Primarily built by @austincawley.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published