Skip to content

RobinRSchulz/sonntagsfrage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonntagsfrage-Server

Description: procedure

  • (timestamped) Data is fetched from remote host (periodically e.g. via CRON job on server) (getData.py)
  • server (flask) generates html from template and current data (server.py)
  • html template is used to visualize the provided data in a fancy way:
    • multi-line graphs
    • etc (todo)

TODO

  • template
  • process fetched data in server.py before generating the template.
    • develop data structure for sorted table data
  • use Chart.js 2.9.3 instead of 1.0.2 for colored bars
  • default port mapping
  • many things in single institute view...
  • cron job

debug

  • execute getData once
  • start server.py
  • alter template if necessary

docker useful commands

  • **building the image: ** docker build -t sonntagsfrage .
  • **running the image: ** docker run -d -p 8080:8080 sonntagsfrage:latest
  • **stopping the image: ** docker stop ...
  • **overview image registry: ** docker images
  • **overview running images: ** docker ps

update server

  1. git pull
  2. rebuild image
  3. re-run sonntagsfrage:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published