Skip to content

add scripts to package.json #4

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

Merged
merged 3 commits into from
Jan 8, 2024
Merged

Conversation

Ammar-64
Copy link
Member

@Ammar-64 Ammar-64 commented Jan 5, 2024

I added scripts to make it a bit easier, as Wissam Suggested, and fixed the import command which had extra restaurants.json at the end of it

@Ammar-64 Ammar-64 self-assigned this Jan 5, 2024
Copy link
Contributor

@halitbatur halitbatur left a comment

Choose a reason for hiding this comment

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

thanks Ammar! just one small comment

"start": "docker-compose up -d",
"stop": "docker-compose down",
"verify": "docker ps",
"copy-data": "docker cp ./restaurants.json curriculum-backend-mongodb-queries-practice-mongodb-1:/home/mongodb",
Copy link
Contributor

Choose a reason for hiding this comment

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

did u test this command and make sure it worked, cause if i remember correctly, it needs the actual path not the relative one

@halitbatur halitbatur self-requested a review January 8, 2024 09:50
@halitbatur halitbatur merged commit 182a464 into dockerized-version Jan 8, 2024
halitbatur added a commit that referenced this pull request Jan 8, 2024
* create docker compose file

* Add needed commands for the setup

* Finish README.md for the mongodb queries practice

* add scripts to package.json (#4)

* add scripts to package.json

* add resest to readme.md

* fix indintation in script.js

* Add container name to docker-compose.yml

---------

Co-authored-by: Ammar Sammour <35445761+Ammar-64@users.noreply.github.com>
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