cookiecutter-django icon indicating copy to clipboard operation
cookiecutter-django copied to clipboard

Specify installation for Linux, Mac OSX, and WIndows

Open pydanny opened this issue 9 years ago • 8 comments

We don't differentiate well between operation systems. http://cookiecutter-django.readthedocs.org/en/latest/developing-locally.html is for Linux, but doesn't do much to help Mac OSX or Windows users.

pydanny avatar Dec 04 '15 22:12 pydanny

Alongside this, probably want to define a requirements.rpm and requirements.brew for install_os_dependencies.sh

bobstrecansky avatar Dec 10 '15 16:12 bobstrecansky

If you do:

pip install unixpackage

and then:

unixpackage install -r requirements.apt

It should find and try to install the relevant equivalent packages on RPM systems, Arch and Brew.

This doesn't help Windows users though.

crdoconnor avatar Dec 10 '15 20:12 crdoconnor

I can see three ways to improve our support for Windows:

  1. Create our own chocolatey package to add those binaries/libraries that need separate installers for Windows. Right now I can only think of psycopg but this will future proof us. Windows 10 has built-in support for external package repositories (and it integrates with chocolatey), and for Windows 7/8 users they can install chocolatey to download the package.
  2. Advocate the use of docker as our compatibility later for Windows. This has its own challenges; in that docker is rapidly updating and especially on Windows a lot of things are still in early beta or can cause unexpected errors. Advantage to this approach is that it takes away a lot of the management that we have to do to support Windows; plus there are promising IDE integration options for docker like the work being done at Jetbrains.
  3. Complete the documentation - adding a FAQ section for Windows to cover most issues; and let the end user decide which way to move forward. I personally think this is the best way forward as we don't end up advocating one or other (less opinionated, more choice).

Thoughts?

burhan avatar Jan 08 '16 14:01 burhan

  • option 3.

jayfk avatar Feb 08 '16 16:02 jayfk

I have a fourth option:

  1. Encourage contributors to submit pull requests for links to a community supported fork for OS-specific flavors. I can see this being useful for other Linux distributions (and of course, Windows). If we do this we have to come up with some guidelines to ensure compatibility with the core version of the django cookiecutter.

burhan avatar Apr 21 '16 07:04 burhan

option 3

rookiec14 avatar Apr 28 '16 17:04 rookiec14

Considering the growing support for Linux on Windows, does it make sense to take Windows off the list?

pydanny avatar Sep 21 '17 21:09 pydanny

The WSL is still not installed or enabled by default and if you do not have admin access, or Windows Professional the option is not available to you.

I would caution against removing it from the list.

On Fri, Sep 22, 2017 at 12:53 AM Daniel Roy Greenfeld < [email protected]> wrote:

Considering the growing support for Linux on Windows, does it make sense to take Windows off the list?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pydanny/cookiecutter-django/issues/431#issuecomment-331292467, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkz6OWxm02wLwMymVR2KJu6LE6myfbCks5sktrJgaJpZM4GvPB_ .

burhan avatar Sep 22 '17 00:09 burhan