-
Notifications
You must be signed in to change notification settings - Fork 5
Home
johnadamsDFID edited this page Apr 15, 2016
·
23 revisions
This repo contains the code to build the Development Tracker using an open public API.
Setting up with Sinatra and DevTracker-API on Ubuntu
Setting up on a Windows 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/'
Remember to follow the usual git workflow
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).