1
0
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
Arnaud Morin
2022-03-23 22:38:22 +01:00
parent 72345d4c24
commit de72ac67ad
3 changed files with 48 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
apt-get update
apt-get -y install python3-pip git
git clone https://github.com/arnaudmorin/demo-flask /opt/demo-flask
pip3 install -r /opt/demo-flask/requirements.txt
cp /opt/demo-flask/demo-flask.service /etc/systemd/system/
systemctl enable demo-flask.service
systemctl daemon-reload
systemctl start demo-flask.service