mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
chore(.gitpod.yml): use new api (#56302)
This commit is contained in:
@@ -41,8 +41,8 @@ tasks:
|
|||||||
- name: db
|
- name: db
|
||||||
# starting mongod in background, so it doesn't block prebuilds
|
# starting mongod in background, so it doesn't block prebuilds
|
||||||
before: >
|
before: >
|
||||||
mkdir -p /workspace/data &&
|
cd api/tools &&
|
||||||
(mongod --dbpath /workspace/data &)
|
docker compose up -d
|
||||||
|
|
||||||
- name: server
|
- name: server
|
||||||
before: export COOKIE_DOMAIN=gitpod.io && export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000)
|
before: export COOKIE_DOMAIN=gitpod.io && export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000)
|
||||||
@@ -58,7 +58,8 @@ tasks:
|
|||||||
pnpm run seed &&
|
pnpm run seed &&
|
||||||
mongosh --eval "db.fsyncLock(); db.fsyncUnlock()" &&
|
mongosh --eval "db.fsyncLock(); db.fsyncUnlock()" &&
|
||||||
gp ports await 27017 &&
|
gp ports await 27017 &&
|
||||||
pnpm run develop:server
|
cd api &&
|
||||||
|
pnpm run develop
|
||||||
|
|
||||||
- name: client
|
- name: client
|
||||||
before: export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000)
|
before: export HOME_LOCATION=$(gp url 8000) && export API_LOCATION=$(gp url 3000)
|
||||||
|
|||||||
Reference in New Issue
Block a user