Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Style Guides:
1. OpenMRS style guide
2. Bahmni style guide (still in making..)
How to bring up live style guide.
1. Install hologram gem
2. Update Alias in
ssl.conf
Code Block |
---|
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:
Code Block |
---|
sudo service httpd restart |
...
Linking the local bahmniapps folder to vagrant box
Code Block |
---|
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
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|