/
Bahmni UI Quick reference

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

Related content

Working on Bahmni OpenMRS frontend
Working on Bahmni OpenMRS frontend
More like this
Coding Guidelines for Bahmni
Coding Guidelines for Bahmni
Read with this
Bahmni-Web Configurations (docker)
Bahmni-Web Configurations (docker)
More like this
Adding a CRUD API(*Resource.java)
Adding a CRUD API(*Resource.java)
Read with this
Configure White Labeling
Configure White Labeling
More like this
Troubleshooting build errors
Troubleshooting build errors
Read with this

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