I need to host my API on the server. How is it possible? I have done by virtualenv on my computer but I need to host it now on my company server I need to host exactly like virtualenv ? Or there is some other way as in PHP we use xamp?
Asked
Active
Viewed 119 times
-1
-
Would Docker be an option for you? If you get your application running in a local Docker container, you could use the same setup in production – heidemarie Mar 17 '20 at 10:24
1 Answers
0
You simply install flask in a virtualenv or not, and do flask run app.py
to run the server, just like the documentation says.
Alternatively, if you want a feature set similar to Apache HTTPd, then you can look into uWSGI

OneCricketeer
- 179,855
- 19
- 132
- 245