Skip to content

predicer-tools/control-center

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predicer Control Center

Python

A desktop application for managing connections between Hertta, Predicer, InfluxDb, and Center Denmark's Data Portal.

Documentation available at https://predicer-tools.github.io/control-center/.

Prerequisites

  • Python 3.11+
  • InfluxDb
  • Grafana
  • InfluxDb access token
  • Personal access token from Center Denmark's portal

Installation

  • cd to /app folder (the one containing pyproject.toml)

  • Make a virtual environment

    python -m venv .venv

  • Activate virtual environment

    .venv\Scripts\activate

  • Install Python requirements

    pip install -e .

  • Get access token from https://portal.centerdenmark.com/en-US/

  • Create an InfluxDb token

The token is a string of 100+ characters.

  • Create a new file called tokens.toml into directory /app/controlcenter/

The format of tokens.toml is

datalake_token = "paste datalake token here inside the quotes"
influxdb_token = "paste influxdb token here inside the quotes"

** In case you don't have the influxDb token, set the second key to eg. infuxdb_token = "abc"

  • Start the app from command prompt

    python main.py

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors