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

Dev script not working for mac users #227

Open
6 of 9 tasks
JC-Coder opened this issue Oct 5, 2024 · 0 comments
Open
6 of 9 tasks

Dev script not working for mac users #227

JC-Coder opened this issue Oct 5, 2024 · 0 comments

Comments

@JC-Coder
Copy link
Contributor

JC-Coder commented Oct 5, 2024

Issue Description

The dev.sh script in the identity-service project doesn't work correctly on Mac systems due to the use of sam.cmd instead of sam.

Expected Behavior

The dev.sh script should run successfully on both Windows and Mac systems, using the appropriate SAM CLI command for each operating system.

Current Behavior

The script fails to execute properly on Mac systems because it uses sam.cmd, which is specific to Windows.

Reproducibility

  • This issue is reproducible

Steps to Reproduce

  1. Clone the identity-service repository
  2. Navigate to the project directory
  3. Run sh scripts/dev.sh on a Mac system

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Additional Information

The scripts/dev.sh file currently contains:

go mod tidy
sam.cmd build
sam.cmd local start-api --env-vars env.json

This works for Windows users but not for Mac users. We need to modify the script to work on both operating systems.

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.
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

1 participant