You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When we follow the docker installation method to set talawa API locally, we first run "npm run setup" if we choose docker installation then the 6th option that is Import Sample Data Show Erorr - "Couldn't find mongodb url"
To Reproduce
Steps to reproduce the behavior:
Clone Talawa API Repo.
cd to repo dir and run "npm run setup"
Select Yes to Docker Installation Option
Select Yes to Import Sample Data Option
Expected behavior
If setup.ts detects docker installation it should skip the Import sample data option and it can be imported by used manually after running the docker container of MongoDB
Actual behavior
Shows error - "Couldn't find mongodb url" when Do you want to import sample data? Is selected to Yes
Screenshots
Additional details
No Additional Details
The text was updated successfully, but these errors were encountered:
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
I think the best solution would be to skip the importing data step in setup.ts if the docker installation is detected because the mongo container is supposed to run after the setup.ts is completed, developer can manually import sample data after he runs the docker containers. I will add that to the installation documentation explicitly to manually import sample data after running docker-compose.
Describe the bug
When we follow the docker installation method to set talawa API locally, we first run "npm run setup" if we choose docker installation then the 6th option that is Import Sample Data Show Erorr - "Couldn't find mongodb url"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If setup.ts detects docker installation it should skip the Import sample data option and it can be imported by used manually after running the docker container of MongoDB
Actual behavior
Shows error - "Couldn't find mongodb url" when Do you want to import sample data? Is selected to Yes
Screenshots
Additional details
No Additional Details
The text was updated successfully, but these errors were encountered: