Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (46 sloc) 1.67 KB

Overview

This project is a prototype built to assist crowdsourcing of data about schools in Tanzania. It is built oin top of Ushahidi, a crowdsourcing platform, and has some extra glue / management code to hold it all together and automate things as much as possible.

Here are some relevant links for the Tanzania schools crowdsourcing project:

CLI tool

The code in this repository deals with the Ushahidi API, mostly to "seed" the database with forms and answers.

Installation

  • With pipenv
    • $ pipenv install to install dependencies
    • $ pipenv shell to activate the environment
  • With pip/virtualenv: use the provided requirements.txt file

Usage

$ python cli.py --help
Usage: cli.py [OPTIONS] COMMAND [ARGS]...

Commands:
  delete_form
  fake_answer
  heroku_adjust_upload
  send_answer
  send_form
  test

For individual commands syntax and description, call any of them with the --help flag, like this:

$ python cli.py test --help
Usage: cli.py test [OPTIONS]

Options:
  -a, --auth  Test authentication
  -p, --ping  Ping test
  -t, --time  Time to API and back
  -e, --env   Print env vars (paged)
  --help      Show this message and exit.

License

MIT License

Copyright (c) 2018 Open Knowledge International

You can’t perform that action at this time.