esaude/openmrs-distro-esaude

Name: openmrs-distro-esaude

Owner: eSaude

Description: eSaude OpenMRS Distribution

Created: 2015-06-22 11:26:24.0

Updated: 2016-01-19 03:19:05.0

Pushed: 2016-01-19 03:19:04.0

Homepage: null

Size: 7

Language: Puppet

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

DEPRECATED

:warning: Use the eSaude EMR Platform Docker composition to set up development environment

eSaude OpenMRS Distro

eSaude OpenMRS distribution. This repository contains installation scripts and instructions.

For more information visit esaude.org.

Installation
Automated

To automatically deploy the eSaude OpenMRS Distro using Vagrant navigate to the infrastructure/vagrant directory and run:

$ vagrant up
Access

The default OpenMRS interface can be accessed at http://localhost:8258/openmrs.

The Angular apps can be accessed at http://localhost:8258/poc/home.

Development

To code for the Angular apps is in the esaude/openmrs-module-bahmniapps repo. Specifically, in the ui folder.

If you want to work on the apps and have the code changes reflect in the VM, change the openmrs-esaude-distro.pp file and remove the following stanza:

Extract POC App
ec { "extract-esaude-poc":
cwd => "/esaude/infrastructure/artifacts",
command => "mkdir -p /var/www/bahmniapps && unzip -o esaude-poc.zip -d /var/www/bahmniapps",
require => [ Package["unzip"], Exec["download-esaude-poc"] ],
notify  => Service["tomcat7"]

Then add:

nfig.vm.synced_folder "/path/to/bahmniapps/ui/folder", "/var/www/bahmniapps"

to your Vagrantfile and re-up the instance.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.