Quick start guide to get up and running.
- python 2.7
- pip python package manager (installation instructions)
- virtualenv (installation instruction)
- gcloud sdk (installation instructions)
- Also, this only been tested on Mac. Your mileage may vary on other environments
Clone repo from [email protected]:divrods/pref-service.git
into ~/sites/dowsingrod/ or your preferred directory
Setup Virtual Env so we don't clutter global python dependencies
cd ~/sites/divrods/pref_service
mkvirtualenv divrods_pref_service -a .
make install
Type which dev_appserver.py
or locate dev_appserver.py
and copy this path.
Open your shell profile (pico ~/.bash_profile
) and add the following line using your path:
export GAE_PYTHONPATH='/Users/blainegarrett/google-cloud-sdk/platform/google_appengine'
or the directory you installed the gcloud sdk to
Run source .bash_profile
or open a new shell and type.
ls $GAE_PYTHONPATH
echo $GAE_PYTHONPATH
If these echo your path, we should be set. Run make unit
in the project dir to run unit tests.
Enter make run
to run the service locally. By default the service will run at http://localhost:9090
In the root project directory enter make run
See https://github.com/divrods/pref-service/issues and https://github.com/divrods/pref-service/projects/1