readme code blocks
This commit is contained in:
parent
a05a943af2
commit
9ed7e1a255
|
|
@ -33,12 +33,13 @@ We build a robot with raspberry and arduino.
|
||||||
sudo systemctl restart nginx
|
sudo systemctl restart nginx
|
||||||
|
|
||||||
### Test Face Server
|
### Test Face Server
|
||||||
In Browser: http://<pi-ip>/
|
In Browser:
|
||||||
|
http://pi-ip/
|
||||||
|
|
||||||
From Somewhere:
|
From Somewhere:
|
||||||
curl -X POST http://<pi-ip>/api/emotion/happy
|
curl -X POST http://pi-ip/api/emotion/happy
|
||||||
curl -X POST http://<pi-ip>/api/emotion/angry
|
curl -X POST http://pi-ip/api/emotion/angry
|
||||||
curl -X POST http://<pi-ip>/api/emotion/sleepy
|
curl -X POST http://pi-ip/api/emotion/sleepy
|
||||||
|
|
||||||
### systemd Service
|
### systemd Service
|
||||||
sudo ln -s /opt/helva-robot/face/etc/systemd/system/face.service /etc/systemd/system/
|
sudo ln -s /opt/helva-robot/face/etc/systemd/system/face.service /etc/systemd/system/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue