Add govuk-template-flask-skeleton

This commit is contained in:
Rebecca Law
2015-11-23 13:50:37 +00:00
parent 9c07a61224
commit a9fe2e6bb7
92 changed files with 7201 additions and 5 deletions

24
README Normal file
View File

@@ -0,0 +1,24 @@
This Python app creates a frontend skeleton based on Flask, Flask-Assets and the govuk_frontend_toolkit (and GOV.UK template). This renders pages with the GOV.UK style. Webpages can be coded using styles from GOV.UK Elements.
govuk_frontend_toolkit is pulled in as a git submodule.
To get the contents of the submodule run the following git commands.
git submodule init
git submodule update
INSTALLATION
In a virtual environment, install the Python requirements:
pip install -r requirements.txt
You will need sass installed:
bundle install
RUNNING THE APP
To run the app:
python app.py
Initial URL -
http://localhost:5000/helloworld
(template for this page lives in /templates/hello-world.html, which adds a content block to govuk_template.html)