Harvest demo application for OpenMRS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_site
bin
etl
openmrs
scripts
server
tests
.dockerignore
.gitignore
.travis.yml
Dockerfile
MANIFEST.in
Makefile
README.md
docker-compose.yml
fabfile.py
requirements.txt
setup.py
test_suite.py
wsgi.py

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