jstaffans / renewables

Renewable energy tracking and forecasting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Berlin Renewables

Development

Environment variables

FLASK_APP=renewables.py
ENTSOe_SECURITY_TOKEN=<token>
RENEWABLES_DATABASE_URI=sqlite:////...   # absolute path to sqlite file
RENEWABLES_CONFIG=app.DevelopmentConfig  # change to app.ProductionConfig for prod
WEATHER_API_TOKEN=<token>                # dark sky api token

Installing

You should be running in a virtual environment.

$> make install

Running tests

$> make test

Migrations

See Flask-Migrate.

License

Copyright © 2018 Johannes Staffans

This software is distributed under the MIT license.

About

Renewable energy tracking and forecasting


Languages

Language:Jupyter Notebook 84.7%Language:Python 12.9%Language:JavaScript 1.2%Language:HTML 0.5%Language:CSS 0.4%Language:Mako 0.1%Language:Makefile 0.1%Language:Shell 0.0%