Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnetteeee authored Nov 13, 2024
1 parent 8ba9411 commit 5720f71
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,34 @@ Admin account (if needed):
1. Clone [our repo](https://github.com/CS3219-AY2425S1/cs3219-ay2425s1-project-g01.git) on your preferred IDE
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
```

#### Spin up backend
Before proceeding to the following procedures, install Docker Desktop
Expand Down

0 comments on commit 5720f71

Please sign in to comment.