Discussion:
How to transfer django projects from one pc to another
(too old to reply)
Swetank Subham Roy
2018-12-10 19:53:54 UTC
Permalink
1. Make requirement file let's say requirement.txt using pip freeze
command, which keep records of packages used in the project.
2. Make a copy of project folder to the new machine.
3. Create virtual environment on new machine.
4. Activate and install package from requirement.txt file to the virtual
environment.
5. Configure database and other settings in settings.py of project.
6. Run makemigrations followed by migrate command.
7. Run run server command.

All done.

On Tue 11 Dec, 2018, 12:43 AM computer engineering Forum <
I want to change my pc but i fear i wont be able to access the projects
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/72f991a7-4024-4a37-80f5-5f5604c7a391%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/72f991a7-4024-4a37-80f5-5f5604c7a391%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+***@googlegroups.com.
To post to this group, send email to django-***@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADQ%3Ddpodi2p-soGdTQh%2Bd42bM24d15O9%2BvPTzQVTHgRNe%2BiCfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...