camicroscope / Caracal

Conslidated Backend, Auth, and Security Services for caMicroscope
GNU General Public License v3.0
15 stars 94 forks source link

Modifying setup_script.sh #172

Open SanjanaSogimatt opened 6 months ago

SanjanaSogimatt commented 6 months ago

I encountered alot of error while trying to run the project and based on the errors that I got I have modified the setup script.

Summary

Which included using mongosh instead of using mongo command beacuse the lastest version does not support mongo command and same goes for node using node.exe instead of node. And I have also reduced the redundant code by making functions

Testing

The changes have been tested locally by running the modified setup script and verifying that it completes without errors. Additionally, I manually inspected the script for potential issues and ensured that all modifications are syntactically correct. However, further testing on different environments may be beneficial to ensure compatibility across various setups.

Questions

@birm I wanted to point out that the links which are present in RESOURCE_IDX , RESOURCE_DEFAULT_DATA , RESOURCE_COLLECTION point to 404: not found page