Skip to content

Dashboard module for UReport working against RapidPro data

License

Notifications You must be signed in to change notification settings

alviriseup/ureport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

U-Report

Build Status codecov

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

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

Getting Started

Install dependencies

% pip install --upgrade pip poetry
% poetry install --no-root
% poetry shell

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.

About

Dashboard module for UReport working against RapidPro data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 36.6%
  • Python 34.9%
  • JavaScript 12.6%
  • Haml 6.3%
  • Less 3.3%
  • CoffeeScript 2.7%
  • Other 3.6%