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

Modifying setup_script.sh #172

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

SanjanaSogimatt
Copy link

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

@birm birm changed the base branch from master to develop March 26, 2024 14:51
setup_script.sh Outdated

# Check for required commands
check_command "mongoshsh"
check_command "node.exe"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a windows only setup script?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have again updated the script based on linux the only difference is that for the windows machine we have to add extension of .exe to both command

@birm birm self-requested a review March 26, 2024 14:55
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

Successfully merging this pull request may close these issues.

2 participants