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:
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"fiorinis",
|
"fiorinis",
|
||||||
"gitea"
|
"gitea",
|
||||||
|
"iptv"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -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 &
|
||||||
Reference in New Issue
Block a user