How to to deploy python app sepratly on same server (previous one ) /root/demo - Deploy Python app on Ubuntu Server using ssh Terminal - by Vasu Birla
hello friends , am Vasu Birla and Today we will deploy Python App.. in previous post we have deployed NODE js app on 0.0.0.0 (your server IP) and acess it using http://0.0.0.0/ Now If you want to deploy a Python app separately on the same server, in the /root/demo directory, and access it using http://0.0.0.0/demo, you can use Apache2 and mod_wsgi to host the Python app. Additionally, you can configure Apache2 to proxy the requests for the /demo path to your Python app without affecting the Node.js app hosted at the root. First of all put your python project folder on root location of server , using putty with cloning git repo or using FTP server and direct paste folder (in previous post we aleady discussed it) lets suppose your folder name is demo .. location would be /root/demo install necessery things to support your python app . like pip install or django ..etc as well install in virtual envi...