Renewable energy tracking and forecasting
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
frontend
migrations
notebooks
templates
tests
.babelrc
.gitignore
Makefile
README.md
concat_csv.sh
package.json
pyproject.toml
renewables.py
requirements.txt
requirements_notebooks.txt
webpack.config.js

README.md

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.