tracker for the ruby goldberg event.
Find a file
flynn 9a44e83637 Merge branch 'master' into 'client'
# Conflicts:
#   watcher/app.py
2019-09-27 19:41:37 +02:00
client add cors to server, fix client requests 2019-09-27 15:20:10 +02:00
watcher Merge branch 'master' into 'client' 2019-09-27 19:41:37 +02:00
.gitignore add a static file example 2019-09-20 15:02:28 +02:00
client_ideas.md add client ideas, add checks for data override 2019-09-20 17:00:44 +02:00
LICENSE Add LICENSE 2019-09-22 03:40:53 +02:00
README.md add run instructions for the client 2019-09-27 15:28:30 +02:00
TODO.md move file to root folder 2019-09-22 03:18:32 +02:00

Rube Goldberg repo

The server

The server is there to show the progress of a current run and all previous runs.

Requirements

  • python
  • pip

How do you run this?

Go into the correct directory with the code

cd watcher

Create a venv with the correct packages

python3 -m venv venv

Activate the virtual environment

source venv/bin/activate

Install the requirements

pip install -r requirements.txt

Start the server!

python app.py

Go enjoy the dashboard @ localhost:5000

The client

This is an example client and will also be used as first link in the machine.

Requirements

A local http file server of some kind. for ex the python http server.

Running

Go into the correct directory with the code

cd watcher

with python's http server

python -m http.server