Skip to content
This repository was archived by the owner on Dec 3, 2020. It is now read-only.

digital-land/digital-land-frontend-heroku

Repository files navigation

Digital Land Frontend

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

Getting started

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

Environment variables

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>>

To do list

  • alter script to also fetch compiled govuk-frontend js see repo

About

Digital Land common frontend components

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors