Clone repo and install requirements on instance setup
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m33s
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m33s
This commit is contained in:
@@ -9,9 +9,9 @@ pip3 install certbot certbot-nginx
|
||||
|
||||
cd /home/ec2-user
|
||||
|
||||
#git clone https://github.com/yourusername/your-repo.git",
|
||||
#cd your-repo",
|
||||
#pip3 install -r requirements.txt",
|
||||
git clone https://git.fiorinis.com/Home/iptv-updater-aws.git
|
||||
cd iptv-updater-aws
|
||||
pip3 install -r requirements.txt",
|
||||
|
||||
# Create nginx config
|
||||
# echo 'server {
|
||||
@@ -24,8 +24,5 @@ cd /home/ec2-user
|
||||
# }
|
||||
# }' > /etc/nginx/conf.d/iptvUpdater.conf
|
||||
|
||||
systemctl start nginx
|
||||
systemctl enable nginx
|
||||
|
||||
# Start IptvUpdater on port 8000
|
||||
# nohup uvicorn app.main:app --host 127.0.0.1 --port 8000 &
|
||||
Reference in New Issue
Block a user