mirror of
https://github.com/andwati/unsplash-bot.git
synced 2026-11-24 19:48:46 +00:00
feat: deploying to render
This commit is contained in:
+16
-14
@@ -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
|
certifi==2021.10.8
|
||||||
|
|
||||||
charset-normalizer==2.0.12; python_version >= '3'
|
charset-normalizer==2.0.12; python_version >= '3'
|
||||||
|
|
||||||
click==8.1.3; python_version >= '3.7'
|
click==8.1.3; python_version >= '3.7'
|
||||||
|
|
||||||
colorama==0.4.4; platform_system == 'Windows'
|
colorama==0.4.4; platform_system == 'Windows'
|
||||||
|
|
||||||
flask==2.1.2
|
flask==2.1.2
|
||||||
|
|
||||||
gunicorn==20.1.0
|
gunicorn==20.1.0
|
||||||
|
|
||||||
idna==3.3; python_version >= '3'
|
idna==3.3; python_version >= '3'
|
||||||
|
|
||||||
itsdangerous==2.1.2; python_version >= '3.7'
|
itsdangerous==2.1.2; python_version >= '3.7'
|
||||||
|
|
||||||
jinja2==3.1.2; python_version >= '3.7'
|
jinja2==3.1.2; python_version >= '3.7'
|
||||||
|
|
||||||
markupsafe==2.1.1; python_version >= '3.7'
|
markupsafe==2.1.1; python_version >= '3.7'
|
||||||
|
|
||||||
pytelegrambotapi==4.5.1
|
pytelegrambotapi==4.5.1
|
||||||
|
|
||||||
python-dotenv==0.20.0
|
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'
|
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'
|
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'
|
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'
|
werkzeug==2.1.2; python_version >= '3.7'
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ bot.remove_webhook()
|
|||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
# configure the webhook for the bot
|
# configure the webhook for the bot
|
||||||
bot.set_webhook(
|
bot.set_webhook(
|
||||||
"https://{}.herokuapp.com/{}".format(
|
"https://{}.onrender.com/{}".format(
|
||||||
os.getenv("PROJECT_NAME"), os.getenv("TELEGRAM_TOKEN")
|
os.getenv("PROJECT_NAME"), os.getenv("TELEGRAM_TOKEN")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user