Revinate Styleguide
Pre-requisites
- NodeJS - https://nodejs.org/
- Jekyll - [https://jekyllrb.com/docs/quickstart/]
- Running
ensure that you've install dinghy for docker
see [https://github.com/revinate/app-docker-scripts/blob/master/install_dev_dependencies.sh](https://github.com/revinate/app-docker-scripts/blob/master/install_dev_dependencies.sh)
startup
./startup.sh
- Accessing
Head over to http://app.docker:4000
- Misc
Update Styleguide
- create posts in each collection in order to add items to the styleguide, posts need to be created in the format
YYY-MM-DD-name.markdown - multiple posts on the same day default to alphabetical order, to override this, use the date Front Matter inside the post. Change the time field to create heirarchy.
- Front Matter desc: will compile as markdown and is where the component(s) description should go. This will prevent it from being added to the markup sample.
Compile Sass
- jekyll build (which is called in startup.sh) will watch for changes in the
_postsand_scssdirectories
How to Deploy
- test is auto-deployed. see Jenkinsfile
- use kube-deploy to deploy production