Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making more windows dev friendly #58

Open
rowanwins opened this issue Sep 1, 2018 · 3 comments
Open

Making more windows dev friendly #58

rowanwins opened this issue Sep 1, 2018 · 3 comments

Comments

@rowanwins
Copy link
Contributor

rowanwins commented Sep 1, 2018

Hi there,

I was just wondering if you'd be open to pull request to make this repo a bit more friendly for windows developers.

For example the shell script for setup_data has some calls to wget which isn't windows-friendly, although we could replace this with node-wget script. Even a shell script itself isn't ideal...

Also on clone and npm install I get errors around rm so we could possibly look at something like shelljs.

Any objections?

@constantinius
Copy link
Member

Hi @rowanwins

This is a good idea, thanks for moving forward on this. In my office we don't have many developers working on windows, so this did not yet come up.
Your approach is reasonable and I'll review your PR as soon as possible.

Thanks

@rowanwins
Copy link
Contributor Author

Urgh I've battled for several hours and tried various approaches but for the life of me I can't get the rgb2pct script to run other than via the OSGeo4W shell :(

Another possibility would be to create a separate repo with all those tiff's and then just pull them all down via wget or equivalent. Perhaps then have two scripts, one pretty much as existing for mac folks, and another for windows which does the wget approach of getting those tiff's that are required.

@yogesh4mantlelabs
Copy link

Just a work around for windows user (until windows script is created), You can install Git on windows and there is something called as "Git bash". It gives basic commands of linux to be executed on windows, like rm or mkdir..etc.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants