Skip to content
This repository has been archived by the owner on Jan 18, 2020. It is now read-only.

chop-dbhi/harvest-openmrs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
etl
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Harvest+OpenMRS

Bitdeli Badge

Prerequisites

  • Python 2.7

The Simple Way

pip install harvest
harvest init-demo openmrs

The Hard Way

Setup & Install

Install virtualenv:

$ wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.8.2.tar.gz
$ tar zxf virtualenv-1.8.2.tar.gz
$ cd virtualenv-1.8.2
$ python setup.py install

You may need to do that last step as root. Just make sure you use the correct Python binary for OSes with multiple Python versions.

Create a virtual environment for the project:

$ virtualenv myproject-env
$ cd myproject-env
$ source bin/activate

Clone or Download

Clone using Git. The advantages of cloning the repository is to keep-up-date as updates to the project happen.

$ git clone git://github.com/cbmi/harvest-openmrs
$ cd harvest-openmrs
$ git checkout demo

Alternatively, you can download a zipped version, the <random-chars> shown below will vary depending on the version of the build.

$ wget https://github.com/cbmi/harvest-openmrs/zipball/demo
$ unzip harvest-openmrs-<random-chars>.zip
$ mv harvest-openmrs-<random-chars> harvest-openmrs
$ cd harvest-openmrs

Setup

$ pip install -r requirements.txt
$ make collect

Run It

$ ./bin/manage.py runserver

Open up your web browser to http://localhost:8000