-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce1ea45
commit 6ec4fa1
Showing
1 changed file
with
25 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,33 +18,34 @@ Admin account (if needed): | |
2. Open 2 terminals on your IDE (One for Frontend, One for Backend) | ||
3. Ensure you're on our latest commit on main branch | ||
4. Create `.env` files in the following directories, and populate them respectively: | ||
|
||
> [!NOTE] | ||
> The following section is solely for official testing in CS3219. | ||
`peer-prep-be/`: | ||
``` | ||
MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
PORT=8080 | ||
``` | ||
`message-queue/` | ||
``` | ||
AMQP_SERVER=amqps://lguugvwb:[email protected]/lguugvwb | ||
MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
PORT=3002 | ||
``` | ||
`peer-prep-collab/src/`: | ||
``` | ||
PORT=4003 | ||
MATCHING_SERVICE_URL=http://localhost:3002 | ||
QUESTIONS_SERVICE_URL=http://localhost:8080 | ||
DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
``` | ||
`peer-prep-user/user-service/` | ||
``` | ||
ENV=PROD | ||
DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
JWT_SECRET=you-can-replace-this-with-your-own-secret | ||
``` | ||
> `peer-prep-be/`: | ||
> ``` | ||
> MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
> PORT=8080 | ||
> ``` | ||
> `message-queue/` | ||
> ``` | ||
> AMQP_SERVER=amqps://lguugvwb:[email protected]/lguugvwb | ||
> MONGODB_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
> PORT=3002 | ||
> ``` | ||
> `peer-prep-collab/src/`: | ||
> ``` | ||
> PORT=4003 | ||
> MATCHING_SERVICE_URL=http://localhost:3002 | ||
> QUESTIONS_SERVICE_URL=http://localhost:8080 | ||
> DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
> ``` | ||
> `peer-prep-user/user-service/` | ||
> ``` | ||
> ENV=PROD | ||
> DB_CLOUD_URI=mongodb+srv://peer-prep:[email protected]/?retryWrites=true&w=majority&appName=peer-prep-cluster0 | ||
> JWT_SECRET=you-can-replace-this-with-your-own-secret | ||
> ``` | ||
#### Spin up backend | ||
Before proceeding to the following procedures, install Docker Desktop | ||
|