diff --git a/CONTRIBUTING_ADVANCED.md b/CONTRIBUTING_ADVANCED.md index a037f3f2b..b5675b48b 100644 --- a/CONTRIBUTING_ADVANCED.md +++ b/CONTRIBUTING_ADVANCED.md @@ -93,7 +93,7 @@ Follow these steps if you want to work on anything involving the database/accoun | Local Server | Docker (recommended) | | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -|
  1. Install [MongoDB Community Edition](https://docs.mongodb.com/manual/administration/install-community/)
  2. Make sure it is running
|
  1. Install [Docker](http://www.docker.io/gettingstarted/#h_installation) on your machine
  2. Run `docker-compose up` from the `./backend` directory (this is also how you start the backend server)
| +|
  1. Install [MongoDB Community Edition](https://docs.mongodb.com/manual/administration/install-community/)
  2. Make sure it is running
|
  1. Install [Docker](http://www.docker.io/gettingstarted/#h_installation) on your machine
  2. Run `docker compose up` from the `./backend` directory (this is also how you start the backend server)
| 3. (Optional) Install [MongoDB-compass](https://www.mongodb.com/try/download/compass?tck=docs_compass). This tool can be used to see and manipulate your database visually. - To connect, type `mongodb://localhost:27017` in the connection string box and press connect. The Monkeytype database will be created and shown after the server is started. @@ -109,11 +109,11 @@ Follow these steps if you want to work on anything involving the database/accoun - Frontend: ``` - cd frontend && docker-compose up + cd frontend && docker compose up ``` - Backend (in another terminal window): ``` - cd backend && docker-compose up + cd backend && docker compose up ``` ### **_Without_** Docker: diff --git a/package.json b/package.json index 33691678b..d854bf716 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint-fe": "eslint \"./frontend/**/*.ts\"", "install-all": "sh ./bin/install.sh", "install-windows": ".\\bin\\install.cmd", - "docker": "cd backend && docker-compose up", + "docker": "cd backend && docker compose up", "test-be": "cd backend && npm run test", "dev": "concurrently --kill-others \"npm run dev-fe\" \"npm run dev-be\"", "dev-be": "cd backend && npm run dev",