INNOQ Styleguide and Component Library
This starts a local development server complete with asset pipeline:
Export a static site to
yarn run site
With Docker & Docker-Compose
You need to prefix all maintenance commands from above like
yarn … with
docker-compose run --rm web …
Everything in master gets deployed automatically to https://innoq.style/.
.travis.yml for more info.
Generate assets locally
yarn run compile
After that, you'll find all the relevant assets in
Updating web fonts
We're currently hosting all of our web fonts (including icons) on innoq.com. To update them:
- Go to https://gitlab.innoq.com/innoq/innoq.com-cms/app/assets/fonts
- Replace the font files you need to update
- Commit + push
- Wait until the new versions are deployed
$cachebusterfor the updated font families in the style guide; you can use a random hash for that:
date +%s | md5
ENTER all the time to release a new version.
Travis deals with npm publishing.
Patch level version (auto increment)
$ yarn release
$ yarn release minor
$ yarn release major