Bahmni UI Quick reference

Style Guides:

1. OpenMRS style guide

2. Bahmni style guide (still in making..)
We use hologram for live style guide. (http://trulia.github.io/hologram/)

How to bring up live style guide.

1. Install hologram gem
2. Update Alias in ssl.conf
vagrant ssh
sudo su
sudo vi /etc/httpd/conf.d/ssl.conf


Add the below alias:
Alias /style-guide /var/www/style-guide


Then restart the web server:

sudo service httpd restart


Linking the local bahmniapps folder to vagrant box

cd {path}/openmrs-module-bahmniapps // path is the local location where openmrs-module-bahmniapps is cloned
./scripts/vagrant-link.sh


3. Add your mark down as in hologram documentation ( eg: bahmni-components/_buttons.scss )
4. Run grunt hologram to see the changes in https://192.168.33.10/style-guide/bahmni_styleguide.html


On this page

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)