Skip to content

CS3219-AY2324S1/ay2324s1-course-assessment-g46

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Review Assignment Due Date

PeerPrep - CS3219 G46

Note

This is the instructions to set up and run the PeerPrep services for local development/testing for Assignments grading

Pre-requisites

  • Ensure you have Docker installed on your machine. If not, follow this link to install Docker Desktop.
  • Ensure you have followed the instructions in the Set up section bellow before proceeding further

Set up environment variables

Please proceed to download secrets files submitted on Canvas to set up environment variables for the services.

For assignment purposes

Question service (assignment/question-service)

  • Create a .env file in the root directory of the assignment/question-service folder
  • Copy the contents of the question-service-env file from into the .env file
  • Your file should look like this:
MONGODB_URL=
JWT_SECRET=

User service

  • Create a .env file in the root directory of the assignment/user-service folder
  • Copy the contents of the user-service-env file from into the .env file
  • Your file should look like this:
SUPABASE_URL=
SUPABASE_KEY=
JWT_SECRET=

Important

For any missing environment variables, please contact the team to retrieve the secrets

For project purposes

Question service (project/question-service)

  • Create a .env file in the root directory of the project/question-service folder
  • Copy the contents of the question-service-env file from into the .env file
  • Your file should look like this:
SUPABASE_URL=
SUPABASE_KEY=
JWT_SECRET=

User service

  • Create a .env file in the root directory of the project/user-service folder
  • Copy the contents of the user-service-env file from into the .env file
  • Your file should look like this:
SUPABASE_URL=
SUPABASE_KEY=
JWT_SECRET=

Important

For any missing environment variables, please contact the team to retrieve the secrets

Run

Run the services