Skip to content
This repository

Harvest demo application for OpenMRS

branch: master
README.md

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

Something went wrong with that request. Please try again.