54 lines
844 B
Markdown
54 lines
844 B
Markdown
# 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
|