Skip to content

edu-ai/aivle-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aiVLE: AI Virtual Learning Environment

This repository is for aiVLE backend (a REST API server). For frontend, please refer to aiVLE FE.

Requirements

  • Python >= 3.7
  • Django
  • Additional requirements listed in requirements.txt

Setup

  1. Install the requirements
pip install -r requirements.txt
  1. Create your secret key and store it in .env as
SECRET_KEY=<redacted>
BROKER_URI=<redacted>
FRONTEND_URL=<redacted>
EMAIL_HOST_USER=<redacted>
EMAIL_HOST_PASSWORD=<redacted>
DEFAULT_FROM_EMAIL=<redacted>
  1. Create the /logs directory in the same level as manage.py//app

  2. Migrate and create the superuser

python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
  1. Run server
python manage.py runserver
  1. In Django admin panel, add the email address for the superuser and set it as primary and verified. (In localhost:8000/admin, after logging in, click on "Email addresses", add an email address for your superuser, and check both checkboxes below.)

  2. In Django admin panel, create a new queue with name "default" and public=True without a course.

About

Django backend for aiVLE (AI Virtual Learning Environment)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages