Open amayii0 opened 6 years ago
Looks like I should change how to start web server https://stackoverflow.com/questions/24884901/python-flask-webserver-stop-responding
If you are using the default Flask webserver: Don't. It's intended for development ONLY.
As additional resource it's worth reading these two blog posts about deploying a Flask application:
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvii-deployment-on-linux-even-on-the-raspberry-pi http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xviii-deployment-on-the-heroku-cloud
And for monitoring processes in your webserver, you could give Watchy a try:
http://redbrain.github.io/watchy/
How To Set Up Apache2 With mod_fcgid And PHP5 On Debian Etch https://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-debian-etch
Looks like I should change how to start web server https://stackoverflow.com/questions/24884901/python-flask-webserver-stop-responding
If you are using the default Flask webserver: Don't. It's intended for development ONLY.
As additional resource it's worth reading these two blog posts about deploying a Flask application:
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xvii-deployment-on-linux-even-on-the-raspberry-pi http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xviii-deployment-on-the-heroku-cloud
And for monitoring processes in your webserver, you could give Watchy a try:
http://redbrain.github.io/watchy/