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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
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