signalpoint / DrupalGap

An application development kit for Drupal websites.
https://www.drupalgap.org
GNU General Public License v2.0
232 stars 185 forks source link

Development on Windows - Drupal 8 #1001

Open rconstantine opened 6 years ago

rconstantine commented 6 years ago

I am developing in windows for Drupal 8. I have cygwin installed so I can use the bash scripts provided, but the file paths aren't windows friendly. I see that there are multiple nested and branching scripts. Could the paths be made cross-platform compatible, or can they already be used in windows some other way?

zak-schlemmer commented 6 years ago

@rconstantine windows has added bash to both windows server and windows 10 as of recently. I would recommend trying this method: https://docs.microsoft.com/en-us/windows/wsl/about It should be much more likely to work as intended for native linux.

rconstantine commented 6 years ago

I'm still on Win 7. Been thinking of upgrading. Maybe it is time.

On Thursday, December 28, 2017, 5:45:02 PM PST, Zak Schlemmer <notifications@github.com> wrote:  

@rconstantine windows has added bash to both windows server and windows 10 as of recently. I would recommend trying this method: https://docs.microsoft.com/en-us/windows/wsl/about It should be much more likely to work as intended for native linux.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

rconstantine commented 6 years ago

This totally worked. The upgrade to Win 10 was slightly painful, but got everything ironed out, I think. The installation of the Linux bit for Windows went just fine. Had to use apt-get to install unzip, and then the bash scripts were able to complete their tasks - the ones I have tried, at least.

Thanks!

On Thursday, December 28, 2017, 5:51:05 PM PST, ryan constantine <rconstantine1@yahoo.com> wrote:  

I'm still on Win 7. Been thinking of upgrading. Maybe it is time.

On Thursday, December 28, 2017, 5:45:02 PM PST, Zak Schlemmer <notifications@github.com> wrote:  

@rconstantine windows has added bash to both windows server and windows 10 as of recently. I would recommend trying this method: https://docs.microsoft.com/en-us/windows/wsl/about It should be much more likely to work as intended for native linux.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

zak-schlemmer commented 6 years ago

Great! I'm happy to hear that worked for you. I'm sure you'll enjoy the OS upgrade also ;)