PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, July 13, 2022

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

 July 13, 2022     django, python, python-3.x, virtualenv, web-deployment     No comments   

Issue

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.



Answered By - Cjo
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

1,215,988

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing