Share, Load, Edit and Display data from various mobile data collection platforms.
The Read app is intended for use with FormHub data collection platform. You should be able to add an additional app using Read as a template to import data or create new "reads" from other data sources. You only need to import the new app, add the new read templates and update the base template to include your new app as sub-navigation to the main read.
Feed: A new JSON or XML feed of one or more aggregated data sources
Read: A data source to load data into the system from
Silo: A data store that can combine one or more Feeds (Data sources)
Display: Where data is viewed and edited
Ensure that the configuration files (.secret
, .secret.yml
) are in the config
folder.
Once all your changes have been commited to the repo, and before pushing them, run:
. travis.sh
Run the following commands from the root of this repository:
docker-compose build
docker-compose up -d mysqldb
docker-compose up
/
- Dockerfile
- docker-compose.yml
- travis.sh
- docker.sh
/config
- nginx.conf
- mysql.env.secret (not public)
- settings.secret.yml (not public)
/local/settings
- local.py
/silo
- client_secrets.json (not public)
mkdir tolatables cd tolatables (Install virtualenv) pip install virtualenv
virtualenv venv
- use no site packages to prevent virtualenv from seeing your global packages
source venv/bin/activate
- allows us to just use pip from command line by adding to the path rather then full path
##Activate Virtualenv source venv/bin/activate
export PATH=$PATH:/usr/local/mysql/bin
- or whatever path you have to your installed mysql_config file in the bin folder of mysql
pip install -r requirements.txt
python manage.py syncdb
If your using more then one settings file change manage.py to point to local or dev file first python manage.py runserver 0.0.0.0:8000 GOOGLE API sudo pip install --upgrade google-api-python-client
- 0’s let it run on any local address i.e. localhost,127.0.0.1 etc.