mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-27 21:49:32 +00:00
Add butterfly web terminal
This commit is contained in:
@@ -41,6 +41,14 @@ rm build/conf/sites/default
|
||||
ln -s /home/pi/catkin_ws/src/clever/deploy/monkey ./build/conf/sites/default
|
||||
cd /home/pi
|
||||
|
||||
# install and enable Butterfly (web terminal)
|
||||
sudo apt-get install libffi-dev
|
||||
sudo pip3 install butterfly
|
||||
sudo pip3 install butterfly[systemd]
|
||||
sudo ln -s /home/pi/catkin_ws/src/clever/deploy/butterfly.service /lib/systemd/system/
|
||||
sudo ln -s /home/pi/catkin_ws/src/clever/deploy/butterfly.socket /lib/systemd/system/
|
||||
sudo systemctl enable butterfly.socket
|
||||
|
||||
echo -e "\033[0;31m\033[1m$(date) | #2 Adding mjpg-streamer at /home/pi\033[0m\033[0m"
|
||||
# https://github.com/jacksonliam/mjpg-streamer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user