Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Improve formatting (headlines + sourcee code)

Style Guides:

1. OpenMRS style guide

...

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
Code Block
vagrant ssh


sudo su jss


sudo vi /etc/httpd/conf.d/ssl.conf
add

Add the below alias:

Alias /style-guide /var/www/style-guide


Then restart the web server:

Code Block
sudo service httpd restart


linking:

./scripts/vagrant-link.sh in bahmniapps

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

...