LandRegistry/lr-styleguide-website

Name: lr-styleguide-website

Owner: HM Land Registry

Description: null

Created: 2015-06-23 10:02:48.0

Updated: 2016-10-10 09:38:22.0

Pushed: 2015-07-08 11:03:27.0

Homepage: null

Size: 1280

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Land Registry style guide website

Website for the lr-style-guide repo at https://github.com/LandRegistry/lr-style-guide

Demonstrates one possible way to consume the style guide - as a submodule - and provides examples with html snippets.

Consuming the style guide as a submodule

Grab the style guide as a submodule:

in the ```head``` of ```/app/templates/layout.html``` import the pre-generated css assets:

re the closing ```</body>``` tag, we then import javascript assets:

orking on this website

Getting started

site itself is a Flask application.

e this repo: ``` git clone git@github.com:LandRegistry/lr-styleguide-website.git ```

up a Python virtual environment and activate it. See something like [virtualenvwrapper](http://virtualenvwrapper.readthedocs.org/en/latest/install.html) if you need more info on how to do this.

 running inside your virtual environment, install dependencies: ``` pip install -r requirements.txt ```

 ``` python app/server.py ``` should get you running on http://localhost:5000

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.