Deploying a chatbot written with the Flask framework

Viewed 608
2 Answers

The thing you're trying to do is called deployment or deploying and application. Long story short, you'll need to rent space on somebody else's computer. This can be done at different providers, e.g.

Also as addition to fresskomas answer:

You will need a fixed external IP. Otherwise any ip-related api-calls in your code will fail when your provider changes your ip (which happens regularly if you don't order a fixed ip).

And when you do this on a local machine not exposed to the web, you probably need to forward your port in your router to allow external web-api callers to find your flask-chatbot.

Related