updated docu
This commit is contained in:
parent
3b07486e32
commit
cafae8a71d
|
|
@ -182,12 +182,19 @@ slow backward
|
||||||
|
|
||||||
## Web Control
|
## Web Control
|
||||||
|
|
||||||
|
For Web-UI-Controller you need to have access to the raspberry-pi i.e. via a hotspot on it.
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
ln -s /opt/helva-robot/drive/opt/drive-ctl/ /opt/
|
ln -s /opt/helva-robot/drive/opt/drive-ctl/ /opt/
|
||||||
sudo apt update
|
sudo chown -R www-data:www-data /opt/drive-ctl
|
||||||
|
sudo chmod -R 755 /opt/drive-ctl
|
||||||
|
|
||||||
sudo apt install -y python3-venv
|
sudo apt install -y python3-venv
|
||||||
python3 -m venv /opt/drive-ctl-venv
|
python3 -m venv /opt/drive-ctl-venv
|
||||||
|
|
||||||
|
/opt/drive-ctl-venv/bin/pip install fastapi uvicorn pyserial
|
||||||
|
|
||||||
source /opt/drive-ctl-venv/bin/activate
|
source /opt/drive-ctl-venv/bin/activate
|
||||||
pip install fastapi uvicorn pyserial
|
pip install fastapi uvicorn pyserial
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue