Digital Land Frontend contains the code used to build user interfaces for the projects that MHCLG's digital land team are working on.
It builds on the GOVUK Design System code, making the majority of it work with Flask applications.
Requirements
Install Flask and python dependencies
pip install -r requirements.txt
Install front end build tool (gulp)
npm install && gulp scss
Run the app
flask run
Create a .flaskenv file and put these environment variables in it
FLASK_ENV=development
FLASK_CONFIG=config.DevelopmentConfig
FLASK_APP=application.wsgi:app
SECRET_KEY=doesnotmatter
MAPBOX_TOKEN=<<your-mapbox-token>>
- alter script to also fetch compiled govuk-frontend js see repo