snap2laz/server/install.sh
2020-11-05 09:59:53 +01:00

18 lines
408 B
Bash

apt update
apt install -y --no-install-recommends build-essential\
gcc\
libagg2-dev\
libpotrace-dev\
nginx-light\
pkg-config\
python-dev\
redis-server
rm -f /etc/nginx/sites-enabled/*
pip3 install flask numpy pillow redis
pip3 install pypotrace
cd /opt
git clone https://git.interhacker.space/teamlaser/laser-app
cp /opt/laser-app/server/files/nginx/sites-enabled/site.conf /etc/nginx/sites-enabled