Skip to content

Commit

Permalink
fix(gitpod): update to use mongosh (freeCodeCamp#50032
Browse files Browse the repository at this point in the history
mongo is no longer installed with the workspace
  • Loading branch information
ShaunSHamilton authored Apr 10, 2023
1 parent 6fc7045 commit 67c4723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tasks:
exit;
- name: db
# starting mongo in background, so it doesn't block prebuilds
# starting mongod in background, so it doesn't block prebuilds
before: >
mkdir -p /workspace/data &&
(mongod --dbpath /workspace/data &)
Expand All @@ -51,7 +51,7 @@ tasks:
pnpm run create:config &&
pnpm run build:curriculum &&
pnpm run seed &&
mongo --eval "db.fsyncLock(); db.fsyncUnlock()" &&
mongosh --eval "db.fsyncLock(); db.fsyncUnlock()" &&
gp ports await 27017 &&
pnpm run develop:server
Expand Down

0 comments on commit 67c4723

Please sign in to comment.