curious-99 / Online-test-Proctoring-2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proctopous - Online Test & Proctoring

Running app via Docker Compose

Below instructions are for Docker Compose setup to run the app simultaneously -

Prerequisites

Make sure you have Docker installed on your system:

Steps to Run the Application

  1. Clone the Repository

    git clone https://github.com/VivekDev01/Online-test-Proctoring-2.0
    cd Online-test-Proctoring-2.0
  2. Configuration

    • Rename .env.example to .env and set appropriate values for environment variables (e.g., MONGODB_URL, JWT_SECRET).
    • Edit the docker-compose.yaml file to setup the environment variables (e.g., MONGODB_URL, JWT_SECRET)
  3. Start the Application

    Run the following command in the terminal:

    docker compose up --build

    This command will build the necessary Docker images and start the containers for both apps.

  4. Accessing the Apps

    Once the containers are up and running, you can access the app on http://localhost:3000

  5. Stopping the Application

    To stop the running containers, press Ctrl + C in the terminal where Docker Compose is running, or execute:

    docker-compose down

Notes

  • You can change the ports for local system according to your need or just ensure no other services are using the specified ports (3000, 4000, 9000) to avoid conflicts.

About


Languages

Language:JavaScript 81.6%Language:Python 11.9%Language:CSS 3.1%Language:HTML 2.7%Language:Dockerfile 0.6%