feat: deploying to render

This commit is contained in:
2023-02-16 16:53:36 +03:00
parent f459ea1907
commit d8fcfbb76b
2 changed files with 34 additions and 32 deletions
+33 -31
View File
@@ -1,31 +1,33 @@
␍
Warning: The lock flag -r/--requirements will be deprecated in a future version␍
of pipenv in favor of the new requirements command. For more info see␍
https://pipenv.pypa.io/en/latest/advanced/#generating-a-requirements-txt␍
NOTE: the requirements command parses Pipfile.lock directly without performing any␍
locking operations. Updating packages should be done by running pipenv lock␍
␍
#␍
# These requirements were autogenerated by pipenv␍
# To regenerate from the project's Pipfile, run:␍
#␍
# pipenv lock --requirements␍
#␍
␍
-i https://pypi.org/simple␍
certifi==2021.10.8␍
charset-normalizer==2.0.12; python_version >= '3'␍
click==8.1.3; python_version >= '3.7'␍
colorama==0.4.4; platform_system == 'Windows'␍
flask==2.1.2␍
gunicorn==20.1.0␍
idna==3.3; python_version >= '3'␍
itsdangerous==2.1.2; python_version >= '3.7'␍
jinja2==3.1.2; python_version >= '3.7'␍
markupsafe==2.1.1; python_version >= '3.7'␍
pytelegrambotapi==4.5.1␍
python-dotenv==0.20.0␍
requests==2.27.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'␍
setuptools==62.2.0; python_version >= '3.7'␍
urllib3==1.26.9; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'␍
werkzeug==2.1.2; python_version >= '3.7'␍
certifi==2021.10.8
charset-normalizer==2.0.12; python_version >= '3'
click==8.1.3; python_version >= '3.7'
colorama==0.4.4; platform_system == 'Windows'
flask==2.1.2
gunicorn==20.1.0
idna==3.3; python_version >= '3'
itsdangerous==2.1.2; python_version >= '3.7'
jinja2==3.1.2; python_version >= '3.7'
markupsafe==2.1.1; python_version >= '3.7'
pytelegrambotapi==4.5.1
python-dotenv==0.20.0
requests==2.27.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
setuptools==62.2.0; python_version >= '3.7'
urllib3==1.26.9; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'
werkzeug==2.1.2; python_version >= '3.7'
+1 -1
View File
@@ -15,7 +15,7 @@ bot.remove_webhook()
time.sleep(3)
# configure the webhook for the bot
bot.set_webhook(
"https://{}.herokuapp.com/{}".format(
"https://{}.onrender.com/{}".format(
os.getenv("PROJECT_NAME"), os.getenv("TELEGRAM_TOKEN")
)
)