This article was created by myself and was released on the Web. The boat race triple prediction site "Is a good prediction right today? / #tab_id_youhaveniceboat_pythonanywhere_com) βis an internal code explanation. This time, I will summarize the flow of actually launching a Web application created with Flask.
See here for creating Flask apps and other information.
The following people are worth considering PythonAnywhere!
I myself was originally an amateur in this area, so I was in trouble for some reason, but PythonAnywhere solved it easily .. !!
Press "Start running .." and select "Free ..". After that, register an account according to the flow.
** After that, I specified "Flask" as the web framework to be used according to the flow, and "Python 3.7" as the Python environment. ** **
** After launching the Web, make the folder & file structure under mysite the same as your own Local structure. ** **
Like an amateur, I honestly saved it by hand. .. It seems that it can be made quite smart if you can use git.
** When completed, reload it on the Web tab and click username.pythonanywhere.com! !! ** **
** Completion! ** **
It's so easy .. !!
Press it regularly.
β Mysterious impression
It may be highly recommended for people who have never rented a web server and do not understand how it works! !! You may be able to easily publish it online and gain an experience that will expand the world! Why not launch a Flask app sleeping on Local with Python Anywhere?
Recommended Posts