care
care copied to clipboard
Add Windows support for make up command
Proposed Changes
- Added Windows compatibility for the
make upcommand in theMakefile. - 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 upcommand failed due to unsupported shell commands.
Architecture changes
- No architecture-level changes made.
- Only improvements in the
Makefileto 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
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!
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.