I am going to try Flask very first time. I found this link for installation which asks me to install some virtualenv. I am using MAMP on my machine. I wonder whether I can integrate Flask with Apache. I want to later use Flask based app on my Shared hosting which just supports Apache. So I wonder whether I can use it with Apache?
2 Answers
Yes, you can use Flask with Apache (using mod_wsgi), check the deployment docs. No need to use Apache in your development machine, Flask has integrated web server, which is more convenient when developing. Unless you want to test your webapp in an environment similar to the one you're going to deploy to, but for that using virtual machine is a better option (e.g. Vagrant).
Since you say that it would be your first time using Flask, I'd suggest to forget deployment questions for awhile and simply follow the tutorial, just play with it. When you'll have your first app ready, then you can learn more about the deployment.
4 Comments
If you are using the Apache webserver, consider using mod_wsgi.
So it seems likely that they integrate fairly well.