cookiecutter-django
cookiecutter-django copied to clipboard
Specify installation for Linux, Mac OSX, and WIndows
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.
Alongside this, probably want to define a requirements.rpm and requirements.brew for install_os_dependencies.sh
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.
I can see three ways to improve our support for Windows:
- 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. - 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.
- 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?
- option 3.
I have a fourth option:
- 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.
option 3
Considering the growing support for Linux on Windows, does it make sense to take Windows off the list?
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_ .