Commit 69f8c67f852d70c44154b68ab945fd4689904b0a

Authored by Antoine Goutenoir
1 parent 742fd5f0
Exists in master

Doc check while reviewing for CRON.

Showing 2 changed files with 17 additions and 6 deletions   Show diff stats
README.md
1 1  
2 2 # Travel Carbon Footprint Calculator
3 3  
  4 +## Overview
  5 +
  6 +- Content is in `content.yml`.
  7 +- Configuration is in `content.yml`.
  8 +- HTML templates are in `flaskr/templates`.
  9 +- Estimation Models are in `flaskr/laws`.
  10 +- Controllers are in `flaskr/controllers`.
  11 +
4 12  
5 13 ## Installation
6 14  
  15 +Tested only on Python `2.7`. _Sprint._
  16 +
7 17 virtualenv venv
8 18 source venv/bin/activate
9 19 pip install -r requirements.txt
... ... @@ -23,9 +33,3 @@ Then, visit http://localhost:5000
23 33 > We're trying to remove the need for the `export` statements, but…
24 34  
25 35  
26   -## Overview
27   -
28   -Content is in `content.yml`.
29   -HTML templates are in `flaskr/templates`.
30   -Estimation Models are in `flaskr/laws`.
31   -Controllers are in `flaskr/controllers`.
... ...
flaskr/assets.py
1 1 from flask_assets import Bundle
2 2  
  3 +# REGISTRY FOR CASCADING STYLESHEETS AND JAVASCRIPT ###########################
  4 +
  5 +# Add more assets below, as-needed.
  6 +# No need to edit the templates for that.
  7 +# Add your additional css in `common`, not under `css`.
  8 +# --> (relative paths hack fix, gotta go fast)
  9 +
3 10 common_css = Bundle(
4 11 'css/vendor/bootstrap.min.css',
5 12 'css/vendor/helper.css',
... ...