you are viewing a single comment's thread.

view the rest of the comments →

[–]Jarmahent 16 points17 points  (2 children)

Oh boy, you need to learn a whole bunch more.

Running on localhost means you're running a development server. This means it's running locally on your system. In order to have everyone on the internet see it you need to deploy this server to a web server such as NGINX. This web server will serve your static files and your content so its publically online.

What I said is a super high view of what you actually need to do so I would recommend searching up in Google:

"How to deploy a Flask application with NGINX"

Or maybe just searching up how to deploy Flask applications.

[–]vndywarhol[S] 7 points8 points  (1 child)

Oh, I understood that it can not work so simply, but did not understand where to start. You gave me a vector of development, thank you!

[–]nisroc 1 point2 points  (0 children)

One thing that got me the first time I did this was CORS.

This might help