AlabamaWaterInstitute / CloudInfra

NextGen In A Box: NextGen Framework National Water Model Community Release
5 stars 22 forks source link

guide.sh does not run on windows #65

Open benlee0423 opened 1 year ago

benlee0423 commented 1 year ago

Run guide.sh on windows server 2022, and it does not execute.

Current behavior

After run guide.sh in windows, it ask path to the sample directory. After typing sample directory, the bash windows just closed itself.

Expected behavior

After typing sample directory, it is able to run successfully.

Steps to replicate behavior (include URLs)

Explained above.

Screenshots

Video file is in the slack channel infrastructure_internal

ZacharyWills commented 1 year ago

Was this run in cmd.exe?

I see it's powershell now.

ZacharyWills commented 1 year ago

https://github.com/AlabamaWaterInstitute/CloudInfra/pull/66/commits/a922b84ac11edfd1e1c42eca31716aa2d7e9ff92

This update to the read command might fix this issue.

ZacharyWills commented 1 year ago

Working through a few testing scenarios and workarounds for this still.

JordanLaserGit commented 1 year ago

PR #90 contains a power shell guide script