Add butterfly web terminal

This commit is contained in:
Oleg Kalachev
2018-09-08 01:32:05 +03:00
parent d70c3f92ad
commit 88ef7d7eca
4 changed files with 21 additions and 1 deletions

View File

@@ -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