A REST API backend server for the Chipmunk Chrome extension
pip install -r requirements.txtThis program needs to acces your Google Drive. We are hardcoding a Google login as environment variables for now.
You need to set GOOGLE_USER and GOOGLE_PASS for both regular use and unit testing.
export GOOGLE_USER=<USERNAME>
export GOOGLE_PASS=<PASSWORD>
Where <USERNAME> and <PASSWORD> are your Google login information.
Alternatively, you can make use of the .env file in the root folder if you are running with Heroku Foreman.
gunicorn server:app
Or with Heroku Foreman,
foreman start
Install nose.
pip install noseIn addition to the Google login environment variables, you'll also need to set
TEST_WORKSHEET_KEY to specify your test worksheet in your account. You can
get your worksheet key in the URL parameter of your worksheet on Google Drive.
Then if you've exported all the environment variables manually.
nosetests
Or if you've set them in the .env file.
foreman run nosetests
- not hard code the Google login
The MIT License (MIT)
Copyright (c) 2014 Glassy Media Inc.
