Clone repo and install requirements on instance setup
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m33s

This commit is contained in:
2025-05-14 20:31:16 -05:00
parent 23608dbb01
commit e67a6361ad
2 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
{ {
"cSpell.words": [ "cSpell.words": [
"fiorinis", "fiorinis",
"gitea" "gitea",
"iptv"
] ]
} }

View File

@@ -9,9 +9,9 @@ pip3 install certbot certbot-nginx
cd /home/ec2-user cd /home/ec2-user
#git clone https://github.com/yourusername/your-repo.git", git clone https://git.fiorinis.com/Home/iptv-updater-aws.git
#cd your-repo", cd iptv-updater-aws
#pip3 install -r requirements.txt", pip3 install -r requirements.txt",
# Create nginx config # Create nginx config
# echo 'server { # echo 'server {
@@ -24,8 +24,5 @@ cd /home/ec2-user
# } # }
# }' > /etc/nginx/conf.d/iptvUpdater.conf # }' > /etc/nginx/conf.d/iptvUpdater.conf
systemctl start nginx
systemctl enable nginx
# Start IptvUpdater on port 8000 # Start IptvUpdater on port 8000
# nohup uvicorn app.main:app --host 127.0.0.1 --port 8000 & # nohup uvicorn app.main:app --host 127.0.0.1 --port 8000 &