wkspower / wks-platform

WKS Platform is a cutting-edge Adaptive Case Management platform built on top of Camunda workflow automation engine. Designed to empower organizations with agile and flexible case management capabilities, WKS Platform enables efficient handling of complex, unstructured processes.
MIT License
30 stars 13 forks source link

Feature/add bat scripts for windows platform #298

Closed vojkog closed 1 month ago

vojkog commented 1 month ago

Add windows (.bat) scripts for Docker Compose operations

Copy existing .sh scripts to .bat variant.

francav commented 1 month ago

Hey @vojkog. Thanks very much for this. What to you think about moving all these docker-compose files to a folder? Maybe with linux and windows subfolders?

Also, what's the difference between linux and windows files?

vojkog commented 1 month ago

Thank you, @francav, for your response.

I see your point; there is a bit of clutter in the project's root, especially with added Windows scripts.

As you have probably seen, there are no substantial differences between .sh and .bat files, but Windows doesn't natively understand or execute .sh˙ files.

Maybe we can leave docker files as-is and move only scripts into a single scripts dir or in the platform-specific sub dirs, e.g.:

/project-root
|-- /scripts
|   |-- /linux
|   |   |-- docker-full-startup.sh
|   |   |-- ....
|   |-- /windows
|   |   |-- docker-full-startup.bat
|   |   |-- ....
...
|-- README.md

This change will require updating documentation also.

francav commented 1 month ago

That would be great @vojkog Would you like to help with that?

vojkog commented 1 month ago

Hi @francav!

Please review the last commit. If you agree with this approach, I can look at the related documentation.

Thx!

francav commented 1 month ago

Hey @vojkog thank you very much for that work!