Skip to content

SolarArbiter/solarforecastarbiter-dashboard

Repository files navigation

Build Status

Contents

Solar Forecast Arbiter Dashboard

The Solar Forecast Arbiter dashboard if the Flask based web front-end to the Solar Forecast Arbiter Framework.

Installation

Installing the dashboard in development mode can be achieved using pip with the following command:

pip install -r requirements.txt && pip install -e .

Prerequisites

The Solar Forecast Arbiter dashboard relies on the Solar Forecast Arbiter API. Starting an instance of the API locally at port 5000 is necessary to use the dashboard's local development instance.

Running

Required Environment Variables

  • AUTH0_CLIENT_SECRET and AUTH0_CLIENT_ID: These environment variables tell the dashboard which AUTH0 application to use for authentication.

Running the dashboard

  • Start the dashboard with the following command: FLASK_APP='sfa_dash:create_app("sfa_dash.config.LocalConfig"' flask run -p 8080

  • Open http://localhost:8080/ in a browser to view the dashboard.

Acknowledgements

The Solar Forecat Arbiter Dashboard utilizes the following open source projects.

Authenication services for the Solar Forecast Arbiter by provided by Auth0

Centralized error reporting for the Solar Forecast Arbiter framework is provided by Sentry.