This project attempts to connect farmers in Indonesia through sms allowing them to share information about farming patterns and optimize for higher overall gains.
This project is currently configured for linux
- Google Appengine python SDK version 1.9.24
- Python version 2.7x
- make tool-install
- make install
- extract google appengine sdk into tmp/google_appengine
- sudo pip install virtualenv
- make install
- make install : install run + test dependencies
- make server : run appengine dev app server
- make test : run tests
- make flake8 : lint source code
- Go to http://localhost:8080/v1/config to see configuration
- To set params go to http://localhost:8080/v1/config?update=true&p1=v1&p2=v2 where px and vx are config param and values. Example http://localhost:8080/v1/config?update=true&admin_username=blah&admin_key=key
pcurl.py is a helper to hit the api without having to create your own curl request. pcurl relies on a .pcurl.config file to specify the api keys for each environment. To run pcurl:
- ". venv/bin/activate" : activate virtual environment
- "python pcurl.py" : run pcurl