ui/app/
to understand which all modules of the EMR UI are contained in this codebase.#community
channel).These steps need to performed ONLY the FIRST TIME you set up this code.
npm install -g yarn
npm install -g grunt-cli
gem install compass
NOTE:
Run these commands from within the micro-frontends
sub-folder
yarn install
yarn build
../ui/app/micro-frontends-dist
folder has the set of files which can be used by the angular modules for their buildRun these commands from within the ui
sub-folder.
yarn install
yarn ci
(will internally trigger grunt)dist
folder has the set of files to be deployed in Apache (or in Vagrant)./var/www/bahmniapps
folder in Vagrant to {CODE_DIR}/ui/app/
folder so that JS changes are reflected immediately.Docker images for Bahmniapps is built using Github Actions.
Resources to build the following docker images can be found in the package directory.
⚠️ : Search Engines are able to index the Bahmni App homepage.
This behaviour can be prevented by:
Adding a “noindex” metatag:
The following tag should be inserted in the <head>
section of the homepage's HTML markup:
<meta name=”robots” content=”noindex”>
Additionally, in order to both de-index the homepage and not follow the links, use the noindex
with the nofollow
metatag:
<meta name=”robots” content=”noindex,nofollow”>
The same is already done here
Using an X-ROBOTS-TAG HTTP HEADER:
An X-Robots-Tag
can be added to the HTTP response header. It has basically the same effect as a noindex
tag, but with the additional options to specify conditions for different search engines. For more information, please see Google’s guide here. Here are examples of X-Robots-Tag for specific functions:
Header set X-Robots-Tag "noindex, nofollow"
The same is already done here
openmrs-module-bahmniapps also integrates with SNOMED for terminology lookup and CDSS. More details can be found in this Wiki link