-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy to Netlify or similar alternative #40
Comments
@deptyped good news, I was able to deploy to Netlify without needing to edit anything but I don't know what to set the webhook url to, how can everything still work? What is the webhook for? Loose steps I followed (let me know if you need precise steps):
|
Thanks for sharing! Unfortunately I don't have enough experience with Netlify. As far as I know, Netlify requires some Netlify-specific code to handle requests, and the bot will not work without code changes.
To receive and process updates from Telegram. This is necessary for processing commands in the chat interface, such as In the case of Netlify, in
|
Ok so basically the bot does not work in my case 🤣. I was a bit suspicious that everything worked without any intervention but I wasn't bothered to investigate more. I thought that since the button was working the bot had to work as well. Thank you very much again for you help |
Hi, I've been trying to deploy the bot and web app on netlify but I'm having a hard time making everything work.
Do you think that this can be done easily?
I think what is currently missing is a way to configure the variables in
.env
. I have no experience with netlify but it looks like it is possible to do something similar with anetlify.toml
file. I used this guide as a reference. Could it just be just a matter of swapping the.env
withnetlify.toml
?The other thing I currently do not understand is wether I can host both the bot and the webapp at the same time.
I think it could be really useful to be able to easily deploy you app with such a service and I might be happy to take a look into it if it's not too difficult.
Is there any easier solution available or something else that I'm missing?
The text was updated successfully, but these errors were encountered: