Skip to content
Dashboard module for UReport working against RapidPro data
CSS Python JavaScript HTML CoffeeScript PLpgSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
locale
media
static
templates
test-data
testfiles
ureport
.coveragerc
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
fabconfig.py
fabfile.py
manage.py
nginx.conf
package-lock.json
package.json
pip-freeze.txt
pip-requires.txt
post-commit.sh
postcss.config.js
pre-commit.sh
setup.cfg
tailwind.config.js
webpack.config.js

README.md

U-report

Build Status

This is the U-report dashboard built on data collected by RapidPro.

Built for UNICEF by Nyaruka - http://nyaruka.com

Getting Started

Install dependencies

% virtualenv env
% source env/bin/activate
% pip install -r pip-requires.txt

Link up a settings file (you'll need to create the postgres db first, username: 'ureport' password: 'nyaruka')

% ln -s ureport/settings.py.postgres ureport/settings.py

Sync the database, add all our models and create our superuser

% python manage.py syncdb
% python manage.py migrate
% python manage createsuper
% python manage collectstatic

At this point everything should be good to go, you can start with:

% python manage.py runserver

Note that the endpoint called for API calls is by default 'localhost:8001', you can uncomment the RAPIDPRO_API line in settings.py.postgres to go against production servers.

You can’t perform that action at this time.