21 lines
533 B
Plaintext
21 lines
533 B
Plaintext
Was needs to be done on the Raspberry pi before the tool can run.
|
|
|
|
1) Set the network-card to a fixed IP adress:
|
|
- Using sudo nmtui
|
|
- Adress was set to 10.0.0.111
|
|
|
|
2) Virtual Environment was created and python packages installed
|
|
- python3 -m vemv allmende_ems
|
|
- source allmende_ems/bin/activate
|
|
- cd projects/allmende_ems
|
|
- pip install -r requirements.txt
|
|
|
|
|
|
How to run the script:
|
|
|
|
- nohup python main.py > terminal_log 2>&1 &
|
|
|
|
For reading out the terminal_log while script is runing:
|
|
|
|
- tail -f terminal_log
|