Coder Social home page Coder Social logo

vishalreddysarasani / openmrs-module-bahmniapps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bahmni/openmrs-module-bahmniapps

0.0 0.0 0.0 24.46 MB

Angular.JS based UI application that is used by Clinicians and Patient care providers.

Home Page: http://www.bahmni.org

License: Other

Shell 0.05% JavaScript 79.20% HTML 12.92% CSS 0.14% SCSS 7.69%

openmrs-module-bahmniapps's Introduction

Bahmni Apps

Build Status

  1. This repository contains most of the frontend code for the Bahmni EMR. It is written in AngularJS with only the Form viewer part utilising React.
  2. See the sub-folder: ui/app/ to understand which all modules of the EMR UI are contained in this codebase.
  3. Regarding the decision of migrating away from AngularJS and instead use React, please read this blog writeup: Bahmni EMR - 1 M lines of code
  4. This code needs help in migrating to React. If you are interested in helping, please ping the Bahmni team on Slack (#community channel).
  5. All Epics, Stories, Bugs, etc are tracked in JIRA.
  6. To Run Bahmni locally you will need a Vagrant setup. See this documentation.

Build

  1. This build requires Node, npm, yarn, grunt and compass.
  2. You can see the travis-ci build to understand the build commands that get executed.
  3. You can also see the go-cd build Bahmni_MRS_v0_93 pipeline to see in-depth build steps.

One time installation:

These steps need to performed ONLY the FIRST TIME you set up this code.

  1. Install node/npm (node version: 10.11.0). Preferably use nvm, so that you have control over which project uses which version of node. See:
  2. Install Yarn: npm install -g yarn
  3. Install Grunt: npm install -g grunt-cli
  4. Install Compass:
    • Compass compiles SASS/SCSS into CSS.
    • Requires ruby (It's recommended to install ruby also using rvm. See install rvm with ruby).
    • Ruby version: 2.6.6
    • Once ruby is installed, you can install compass using: gem install compass

Build commands

Run these commands from within the ui sub-folder.

  1. yarn install
  2. yarn ci (will internally trigger grunt)
  3. If build is successful, the dist folder has the set of files to be deployed in Apache (or in Vagrant).

Vagrant (Hot Deploy)

  1. You can also sym-link the /var/www/bahmniapps folder in Vagrant to {CODE_DIR}/ui/app/ folder so that JS changes are reflected immediately.

Debugging AngularJS App

  1. To be able to debug Bahmni frontend please read this post: Debugging AngularJS
  2. If you are brand new to AngularJS, this is a good intro video: Youtube: 60 min overview of AngularJS Fundamentals

openmrs-module-bahmniapps's People

Contributors

abishek91 avatar aj-jaswanth avatar angshu avatar binduak avatar endeepak avatar gbhasha avatar hanisha93 avatar hemantheverest avatar iamnavaneeth avatar indraneelr avatar jaya21 avatar kravi15 avatar kunalch avatar limitless-horizon avatar mihirk avatar padmavati avatar pankajladhar avatar preethi29 avatar preethisadagopan avatar pushpadumpala avatar rohanpoddar avatar santhubairamcs avatar shireeshabongarala avatar shruthidipali avatar sidtharthanan avatar sumanmaity112 avatar sushmitharaos avatar swathivarkala avatar vikashgupta2000 avatar vinkesh 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.