Skip to content

Guidelines for quickly setting up UI in apps and services at the National Library of Sweden.

License

Notifications You must be signed in to change notification settings

Kungbib/styleguide

Repository files navigation

Styleguide for the National Library of Sweden

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.

Requirements

  • Python 3
  • Yarn
  • Sass (npm install -g sass)

Setup

$ pip install -r requirements.txt

$ yarn install

Config host

Create your config

$ cp deploy.cfg.ln deploy.cfg
  • Enter your deploy conf in deploy.cfg
    • USERNAME - username on host
    • HOST - ie "multiweb.kb.se" or similar
    • REMOTE_DIR - ie "/var/www/html/myfolder" or similar

Assets folder

Building the project

Development server

$ yarn serve

Build for production

$ yarn build

Deploying

Make sure you have configured deploy.cfg (see above)

$ yarn deploy

About

Guidelines for quickly setting up UI in apps and services at the National Library of Sweden.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published