From 41e863a144a7dc680317785fcd0d656621711e78 Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 00:47:01 +0530 Subject: [PATCH 1/8] Update Procfile --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 2c32205e9..ca82f1824 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -Drone: python -m main +gunicorn app:app & python3 main.py From 9ec0db97505d83d2c34a3f099e990043fe9e9798 Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 01:37:11 +0530 Subject: [PATCH 2/8] Update Procfile --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index ca82f1824..2c32205e9 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -gunicorn app:app & python3 main.py +Drone: python -m main From c33684aec76ff7e0b3b14365c53512a0a9d209b3 Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 01:43:07 +0530 Subject: [PATCH 3/8] Update requirements.txt --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 406231484..80f4fcf9d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,6 @@ python-decouple pyrogram telethon tgcrypto +Flask==2.2.2 +gunicorn==20.1.0 +aiohttp 3.8.1 From a7c73476346daeec6e3f12a76649db6dde7f567b Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 02:01:35 +0530 Subject: [PATCH 4/8] Create App.py --- App.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 App.py diff --git a/App.py b/App.py new file mode 100644 index 000000000..626ac9b30 --- /dev/null +++ b/App.py @@ -0,0 +1,10 @@ +from flask import Flask +app = Flask(__name__) + +@app.route('/') +def hello_world(): +return 'GreyMatters' + + +if __name__ == "__main__": +app.run() From e36e7107a27cd966fbb770488e180a74c95e3266 Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 02:04:40 +0530 Subject: [PATCH 5/8] Create run cmd.txt --- run cmd.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 run cmd.txt diff --git a/run cmd.txt b/run cmd.txt new file mode 100644 index 000000000..ca82f1824 --- /dev/null +++ b/run cmd.txt @@ -0,0 +1 @@ +gunicorn app:app & python3 main.py From 3522afb91ff113fd420e6a024c5b93501695d812 Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 02:05:28 +0530 Subject: [PATCH 6/8] Update run cmd.txt --- run cmd.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run cmd.txt b/run cmd.txt index ca82f1824..c958a55a8 100644 --- a/run cmd.txt +++ b/run cmd.txt @@ -1 +1 @@ -gunicorn app:app & python3 main.py +gunicorn app:app & python3 main From 97be2785a18e7b7a441827ae9a5f1386865f1022 Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 13:28:31 +0530 Subject: [PATCH 7/8] Update Procfile --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 2c32205e9..5ff7d93e9 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -Drone: python -m main +Drone: python -m main.py From 48fc7ce2afb6ecae605004e0e0de07c5b70afad3 Mon Sep 17 00:00:00 2001 From: Heroku0007 <156164661+Heroku0007@users.noreply.github.com> Date: Sun, 14 Jan 2024 14:15:07 +0530 Subject: [PATCH 8/8] Update Procfile --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index 5ff7d93e9..2c32205e9 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -Drone: python -m main.py +Drone: python -m main