Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 941 Bytes

README.md

File metadata and controls

64 lines (47 loc) · 941 Bytes

Run Locally

  1. Start the server
cd server
npm install
npm run dev
  1. Start the client
cd client
npm install
npm run dev
  1. Start flask server
cd ml
python -m venv venv  # use python 3.8
source venv/bin/activate
pip install -r requirements.txt
python app.py
  1. Have MongoDB running on your local machine

  2. Open your browser and go to http://localhost:5173


Run on Docker

docker-compose -f docker-compose.dev.yml up

Create an admin

  1. Create a user with the username admin and the password admin

  2. Login with the user admin to access admin portal

LOG TYPES

LOGIN: "login",
OPENED_COURSE: "opened_course",
CLICK: "click",
OPENED_MODULE: "opened_module",
MUTE: "mute",
UNMUTE: "unmute",
PLAY: "play",
PAUSE: "pause",
SUBMIT_QUIZ: "submit_quiz",
COURSE_REGISTRATION: "course_registration",
COURSE_STARTED: "course_started",
LOGOUT: "logout",