removed old utils virtualenv

This commit is contained in:
Kristjan Komlosi
2019-11-12 19:56:22 +01:00
parent 8e7435ff8f
commit 665cf6050b
66 changed files with 1260 additions and 0 deletions

18
etcs/install.sh Executable file
View File

@@ -0,0 +1,18 @@
# install.sh - install TeraHz onto a Raspbian or DietPi installation
apt -y update
apt -y full-upgrade
apt install -y python3 python3-pip lighttpd dnsmasq hostapd libatlas-base-dev
pip3 install numpy pandas flask smbus2 pyserial gunicorn
cp -R hostapd/ /etc
chmod +rx /etc/hostapd/edit_ssid.sh
cp dnsmasq.conf /etc
cp rc.local /etc
cp interfaces-terahz /etc/network/interfaces.d/
cp -R ../frontend/* /var/www/html
mkdir -p /usr/local/lib/terahz
cp -R ../backend/* /usr/local/lib/terahz
systemctl unmask dnsmasq hostapd lighttpd
systemctl enable dnsmasq hostapd lighttpd