care icon indicating copy to clipboard operation
care copied to clipboard

Add Windows support for make up command

Open miravanisri opened this issue 1 month ago • 2 comments

Proposed Changes

  • Added Windows compatibility for the make up command in the Makefile.
  • This allows contributors using Windows OS to start and manage the project setup without errors.
  • The script now automatically detects the OS and executes appropriate commands for Windows and Unix-like systems.

Associated Issue

  • No existing issue was opened for this.
  • Found and fixed the issue while setting up the project on Windows — previously, the make up command failed due to unsupported shell commands.

Architecture changes

  • No architecture-level changes made.
  • Only improvements in the Makefile to ensure cross-platform support.

Merge Checklist

  • [x] Tests added/fixed (manual verification on Windows)
  • [x] Update docs in /docs (if applicable)
  • [x] Linting Complete
  • [x] Any other necessary step (ensured backward compatibility with Unix-based systems)

@ohcnetwork/care-backend-maintainers @ohcnetwork/care-backend-admins

miravanisri avatar Nov 05 '25 09:11 miravanisri

Hi maintainers 👋, I noticed the make up command wasn’t working on Windows, so I’ve added OS detection and Windows support. It now works for both Windows and Linux/Unix systems. Tested locally on Windows 11. Thanks for reviewing!

miravanisri avatar Nov 05 '25 10:11 miravanisri

We recommend using Linux/Unix or WSL on Windows for contributing to Care. Some dependencies don’t work well on Windows native shell, so it've kept that way on purpose.

praffq avatar Nov 05 '25 20:11 praffq