GithubHelp home page GithubHelp logo

themoriarti / openstef-reference Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openstef/openstef-reference

0.0 0.0 0.0 17.66 MB

Deploy the entire OpenSTEF stack on your machine. Provides a reference implementation of the OpenSTEF stack including datamodels, databases and UI

License: Mozilla Public License 2.0

Shell 0.01% Python 0.01% HTML 96.46% Dockerfile 0.01% Roff 3.53%

openstef-reference's Introduction

Openstef-reference

Reference implementation of the OpenSTEF stack. It includes all key functionality, e.g. the forecast engine, data storage and -models, the expert user dashboard!

Table of contents

Installation

Prerequisites

Both Docker and Docker compose have to be installed. It is recommended to follow the instruction of the corresponding page:

Install Docker

Follow the instruction on the Get Docker page: https://docs.docker.com/get-docker/

Install Docker Compose

Follow the instruction on the Install Docker Compose page: https://docs.docker.com/compose/install/

Usage

To start using the OpenSTEF reference stack use Docker Compose to bring up the whole stack:

$ sudo docker-compose up

Note: if you're running docker on a windows machine, issues might be caused by windows line endings. All line endings should be Unix!

Grafana

Open on http://localhost:3000 Log in using username admin and password admin

Set the mysql pasword (root) from withing the dashboard. Do this via Configuration > DataSources > tst_icarus (MySQL) > password.

Set the influx token pasword (mytoken) from withing the dashboard. Do this via Configuration > DataSources > InfluxDB-V2 > token.

To view the dash board navigate to the dashboard: Dashboards > Station forecasts.

screenshot Screenshot of the operational dashboard showing the key functionality of OpenSTEF. Dashboard documentation can be found here.

PhpMyAdmin

Open on http://localhost:8080 Log in using username root and password root

Influx UI

Open on http://localhost:8086 Log in using username myusername and password passwordpasswordpassword

Nginx

Open on http://localhost:8090

Mlflow

Open on http://localhost:8099

Running pipelines

In the root of the project run:

pip install -r requirements.txt

Run a training or forecast pipeline by running the corresponding python files in openstef_example_tasks from the root of this repository.

Tips and tricks

Enter running container

To enter the InfluxDB container run:

$ sudo docker exec -it openstef-influxdb /bin/bash
$ sudo docker exec -it openstef-nginx /bin/bash

Clear the volumes

Docker will try using previous volumes on runs. But sometimes you want to start fresh. Docker-compose offers the --renew-anon-volumes option for this purpose:

$ docker-compose up --renew-anon-volumes

License

This project is licensed under the Mozilla Public License, version 2.0 - see LICENSE for details.

Licenses third-party libraries

This project includes third-party libraries, which are licensed under their own respective Open-Source licenses. SPDX-License-Identifier headers are used to show which license is applicable. The concerning license files can be found in the LICENSES directory.

Contributing

Please read CODE_OF_CONDUCT.md, CONTRIBUTING.md and PROJECT_GOVERNANACE.md for details on the process for submitting pull requests to us.

Contact

Please read SUPPORT.md for how to connect and get into contact with the OpenSTEF project

openstef-reference's People

Contributors

janmaartenvandoorn avatar bremme avatar frankkr avatar nicorikken avatar jonasvdbo avatar bartpleiter avatar jonitaruiter avatar charlottecvn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.