Create project in windows, but run it in Ubuntu

52 views
Skip to first unread message

Chafid Ahmad

unread,
Mar 22, 2019, 8:28:54 AM3/22/19
to django...@googlegroups.com
Hi, I have a client who wanted to run a Django project that can run in Ubuntu. As I don't have a UX machine to developed it, is it possible to developed the project in Windows, but later export it to Ubuntu? My initial plan is:
- Developed the project with pycharm in windows
- Upload the project to github
- retrieve the project from github to an ubuntu virtual machine and test it
The reason I don't want to developed the project in virtual machine is that my hardware resource is limited, I don't want to share it if I don't absolutely have to. 
Is this possible? If not can anyone help me with another alternative solution?

Cheers
Chafid
--

Aldian Fazrihady

unread,
Mar 22, 2019, 8:41:32 AM3/22/19
to django...@googlegroups.com
Hi,

That's is possible.

--
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/CADf88xmVSz9s8Rpg0gGL1Pmswb-DF8Fz_OEo-EDQgaK7F65hAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Bill Freeman

unread,
Mar 22, 2019, 8:48:15 AM3/22/19
to django-users
Using git does not require github.  You can use any accessible machine to serve a git repository, to which you can push, and from which you can pull, using, for example, git+ssh (you could also use an ssh tunnel, but git supports ssh transport directly).  Do set up ssh to require keys and not allow password access, for security.  You can make a user for each developer to limit access.  git supports all the necessary features that you get with github.  Any machine that all developers plus the deployment machine can reach is OK, but something like the $5/mo linode plan means that you can work remotely if traveling (as opposed to a box on your local network that's not accessible from outside).

It is also possible to run a private instance of github, but I don't know the costs and management effort involved.

chandan kumar

unread,
Mar 22, 2019, 10:28:35 AM3/22/19
to django...@googlegroups.com
Hi,

 I tried it doing so , but didn't work for me. 
I had to give the same project to one of my friend who was using Django installed in Ubuntu.
But it dint work there, so i had to install django again in his windows 10. 
Thanks
Chandan Chaudhary
IIIT Guwahati
Btech(3rd Year)


Mario R. Osorio

unread,
Mar 26, 2019, 9:33:53 AM3/26/19
to Django users
Of course you can however, IMHO; it is better to use whatever is closest to the real McCoy. Two options I can think of are:

1) Use Docker images. It is not very hard to work with Docker images however, it does add a bit of difficulty to your workload.

2) Use a Linux image in VirtualBox. It will only take few minutes and I'm sure will make you happier that dealing with Docker images. First, I would use exactly the same Linux version as your server and try to replicate its configuration.

2) If you are a big fan of Linux, you might want to install Linux and leave on a dual boot system. This is what I have. The only problem is though.... I rarely ever use the Windows boot, probably 3 times a year top, and every time I do I have a looot of updates to make.

Eduardo Cervantes

unread,
Mar 26, 2019, 12:04:40 PM3/26/19
to django...@googlegroups.com
I developed my django site on windows 10 and published to a ubuntu box without issues.
Using github or other repository is straightforward and a good idea. The only thing you need to change is your settings/config since one is dev and the other will be production but you would have that issue regardless of the system.


Chafid Ahmad

unread,
Mar 26, 2019, 3:04:27 PM3/26/19
to django...@googlegroups.com
Thanks everyone for the suggestions. I ended up using the 3rd solution: making my laptop dual boot, Ubuntu and windows

Cheers

--
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.

Mario R. Osorio

unread,
Mar 26, 2019, 3:22:58 PM3/26/19
to django-users
I'm sure you won't regret it.

Dtb/Gby
=======
Mario R. Osorio

SQL programmers don't die, they just ROLLBACK the TRANSACTION.




You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/fCUBH1LCFoc/unsubscribe.
To unsubscribe from this group and all its topics, 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.
Reply all
Reply to author
Forward
0 new messages