snap2laz/server/install.sh

18 lines
412 B
Bash
Raw Normal View History

2020-11-02 14:07:37 +00:00
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
2020-11-05 08:49:18 +00:00
#git clone https://git.interhacker.space/teamlaser/laser-app
2020-11-02 14:07:37 +00:00
cp /opt/teamlaser/laser-app/files/nginx/sites-enabled/site.conf /etc/nginx/sites-enabled