Skip to content
johnadamsDFID edited this page Apr 15, 2016 · 23 revisions

This repo contains the code to build the Development Tracker using an open public API.

Getting Started

Setting up with Sinatra and DevTracker-API on Ubuntu

Setting up on a Windows machine

How it works

Do this first (on a Dev machine)

You will need to redirect the API variable on your dev machine when you first download the code.

In devtracker.rb, comment out the Server machine line and uncomment the Developer machine line as below:

# Developer Machine: set global settings
set :oipa_api_url, 'http://dfid-oipa.zz-clients.net/api/'

# Server Machine: set global settings
#set :oipa_api_url, 'http://127.0.0.1:6081/api/'

Working practices

Remember to follow the usual git workflow

API Call List

The API calls that need to be made from each page of the application are contained within a [google doc] (https://drive.google.com/open?id=198rRAZXctXO6NuzLrgvE_6tXUQ1jCneGT-yJZyA2vF8).

Clone this wiki locally