From 69f8c67f852d70c44154b68ab945fd4689904b0a Mon Sep 17 00:00:00 2001 From: Antoine Goutenoir Date: Thu, 24 Oct 2019 02:32:01 +0200 Subject: [PATCH] Doc check while reviewing for CRON. --- README.md | 16 ++++++++++------ flaskr/assets.py | 7 +++++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b346e4e..1f142f9 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,19 @@ # Travel Carbon Footprint Calculator +## Overview + +- Content is in `content.yml`. +- Configuration is in `content.yml`. +- HTML templates are in `flaskr/templates`. +- Estimation Models are in `flaskr/laws`. +- Controllers are in `flaskr/controllers`. + ## Installation +Tested only on Python `2.7`. _Sprint._ + virtualenv venv source venv/bin/activate pip install -r requirements.txt @@ -23,9 +33,3 @@ Then, visit http://localhost:5000 > We're trying to remove the need for the `export` statements, but… -## Overview - -Content is in `content.yml`. -HTML templates are in `flaskr/templates`. -Estimation Models are in `flaskr/laws`. -Controllers are in `flaskr/controllers`. diff --git a/flaskr/assets.py b/flaskr/assets.py index 7ae73dc..6b812e0 100755 --- a/flaskr/assets.py +++ b/flaskr/assets.py @@ -1,5 +1,12 @@ from flask_assets import Bundle +# REGISTRY FOR CASCADING STYLESHEETS AND JAVASCRIPT ########################### + +# Add more assets below, as-needed. +# No need to edit the templates for that. +# Add your additional css in `common`, not under `css`. +# --> (relative paths hack fix, gotta go fast) + common_css = Bundle( 'css/vendor/bootstrap.min.css', 'css/vendor/helper.css', -- libgit2 0.21.2