Code Monkey home page Code Monkey logo

demo_farm_openemr's Introduction

The repo holds the mechanism for an OpenEMR demo farm.

How do I set one of the "UP FOR GRABS" OpenEMR demos?

  1. Fork the https://github.com/bradymiller/demo_farm_openemr.git repo and make it your own
  2. Place your OpenEMR git repo information in the openemr_repo and branch items in your ip_map_branch.txt for one of the UP FOR GRABS demo entries (192.168.1.130-192.168.1.135).
  3. Place a github pull request on your commit for number 2 above.
  4. After I bring in your github pull request, then place your repo and branch information in the pertinent UP FOR GRABS demo entries here: http://www.open-emr.org/wiki/index.php/Development_Demo#UP_FOR_GRABS_Development_Demos
  5. When the demo resets (which is daily), it will now be using your selected repo branch!!

Set up a ubuntu pre-trigger appliance

  1. Install a ubuntu appliance on vmware
  2. Install and remove the ubuntu development package at: http://www.open-emr.org/wiki/index.php/Ubuntu-Debian_OpenEMR_Development_Package_Installation
  3. Config php and apache
  4. Set up /etc/rc.local file from: https://github.com/bradymiller/demo_farm_openemr.git repo
  5. At some point will hopefully offer a download link with this appliance.

Trigger the ubuntu appliance

  1. Change triggerOpenemrDevelopmentDemo in /etc/rc.local to true
  2. Set a static ip address in appliance (ubuntu 12.04, see example the example /etc/network/interfaces file, which is interfaces file in this repo)
  3. Shutdown appliance and set a snapshot in vmware and have it revert to snapshot on shutdown.
  4. Place ip address along with git branch and options in in the ip_map_branch.txt file in the repo: https://github.com/bradymiller/demo_farm_openemr.git
  5. Start the appliance

Description of ip_map_branch.txt configuration file

This file is a tab delimited file for configuration of demos in the demo farm with following settings:

  • ip_address: local ip address of the OpenEMR demo
  • openemr_repo: set it to the openemr repo you want to grab code from
  • branch: git branch of the OpenEMR github repository
  • serve_development_translations: set to 1 to have demo serve the daily build of translation set for download, set to 0 to turn this off
  • use_development_translations: set to 1 to have demo use the daily build of translation set(this option only works with code based on master/4.1.3), set to 0 to turn this off
  • serve_packages: set to 1 to have demo serve zip/tgz packages of the build for download, set to 0 to turn this off
  • legacy_patching: set to 1 if you are using a legacy patched branch, such as rel-411,rel-410 etc. Note that rel-412 and above should be set to 0.
  • demo_data: set to 0 if no sql demo data file. If have a sql demo data file, then place the name of it here and place the file in the 'pieces' directory.
  • demo_ssh: set to the ssh package if using the offsite portal. Set to 0 if not connecting to offsite portal.
  • patient_portals: set to 0 to not use. set to 1 to set up the onsite and wordpress patient portal demo.
  • external_link: place the external web address to the demo here
  • description: place description of the demo here

How to grow your own OpenEMR demo farm

  1. Fork the https://github.com/bradymiller/demo_farm_openemr.git repo and make it your own
  2. Configure ip_map_branch.txt
  3. Set up the pre-trigger appliance, as above (or download it when available)
  4. Trigger the appliance, as above. In the /etc/rc.local, place link to your custom demo_farm_openemr repo.

demo_farm_openemr's People

Contributors

bradymiller avatar sunsetsystems avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.