Search code examples
pythonpython-3.xdjangovirtualenvweb-deployment

How to migrate a Django web app from local machine to another machine[with no internet; can't use PIP] as deployable app


I have a running Django application in my local system and I want to transfer and run the same to another machine in the same network. But, the destination machine cannot use PIP cmd to install dependencies as it does not have internet connectivity. Any ideas to transfer the project are appreciated.


Solution

  • The system I was using is RedHat and the libs I downloaded were in CentOs and then the Django failed to start due to system dependency. Then, I tried to installing all packages in a free AWS EC2 RedHat instance and then compressed the libs together and transferred to the local machine. It worked for me.