pythonweb/Setup.sh

14 lines
223 B
Bash
Raw Normal View History

2020-04-26 22:12:40 -04:00
#!/bin/bash
2020-10-04 18:47:45 -03:00
if [ "$EUID" -ne 0 ]; then
echo "Este script requiere permisos de root."
exit
fi
2020-04-26 22:12:40 -04:00
2020-10-04 18:47:45 -03:00
apt update
apt install -y python3-pip
2020-04-26 22:12:40 -04:00
2020-04-29 15:33:29 -04:00
pip3 install setuptools gunicorn
2020-04-26 22:12:40 -04:00
pip3 install -r web-interface/requirements.txt