Skip to content
This repository has been archived by the owner. It is now read-only.
[DEPRECATED]
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.
.idea
Code
Data/clean
.gitignore
CONTRIBUTING.md
LICENSE
README.md

README.md

HealthWatch

A suite of web based health applications

Installation

Clone this repository to your working directory

git clone git@github.com:CodeForAfrica/ZiwaphiHealth.git

Update composer

cd ZiwaphiHealth/Code/
composer update

You can now navigate to {your localhost}/ZiwaphiHealth/Code/public to run the app

Set Up

HealthWatch uses Fusion Tables and Socrata to store the data and execute queries for the different apps. Here will walk you on the step by step for each of the appications

Dodgy Doctors

This application helps you check if your doctor is registered, to confirm their area of practice and to check if they have malpractice cases. The data is hosted on Fusion Tables. To set up:

  1. Upload your data to Google Fusion Tables

  2. Change the share settings to publicly available on the web

  3. Grab the table id and set it accordingly on the custom config file: app/config/custom_config.php Change the dodgy_docs_table to your table id

  4. Change google_api_key to your Google API key

Medicine Apps

There are two apps in this section: the Medicine prices app and generics app. The data for these is also hosted on Fusion Tables. The set up is the same as above for Dodgy Doctors except for #3 where you'll change the 'medicine_table' value to your Fusion Table.

Hospitals App

This app helps users find hospitals around them. The data for this is hosted on Socrata.

  1. Change socrata_app_token to your app token

  2. Change hospitals_table to the Socrata app id

New Feed

The final step is to set up the blog feed for the stories.

You will need a Wordpress instance to feed the application with stories. For your instance to be usable you will need to do the following:

  1. Install JSON-API plugin

  2. Create a Health category

  3. In the custom config file change 'WPFeedRoot' to your Wordpress root

  4. Also, change 'WP_HealthCategory' to the category id of your Health category

Congrats! All done!

Built using Laravel PHP Framework

Latest Stable Version Total Downloads Build Status License

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

Laravel aims to make the development process a pleasing one for the developer without sacrificing application functionality. Happy developers make the best code. To this end, we've attempted to combine the very best of what we have seen in other web frameworks, including frameworks implemented in other languages, such as Ruby on Rails, ASP.NET MVC, and Sinatra.

Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

You can’t perform that action at this time.