Guidelines for quickly setting up UI in apps and services at the National Library of Sweden.
This repository only contains the source for the documentation of the styleguide. If you are looking for the stylesheets, please go to Kungbib/styles.
- Python 3
- Yarn
- Sass (
npm install -g sass
)
$ pip install -r requirements.txt
$ yarn install
Create your config
$ cp deploy.cfg.ln deploy.cfg
- Enter your deploy conf in
deploy.cfg
USERNAME
- username on hostHOST
- ie "multiweb.kb.se" or similarREMOTE_DIR
- ie "/var/www/html/myfolder" or similar
Development server
$ yarn serve
Build for production
$ yarn build
Make sure you have configured deploy.cfg
(see above)
$ yarn deploy