/LMS

Primary LanguagePython

Learning Management system

Description

The Learning Management System is an EdTech application that helps in delivering and managing the course smoothly. The application helps the educator in conducting the course by providing interfaces for sharing the material for the courses, assignments. The main aim of this application is to increase the interaction between students and teachers through discussion forums, bots, and so on. This portal will also help the users to keep a track of deadlines and the upcoming sessions which will boost the flexibility of the work process and work management. In the current circumstances where the learning is shifted to remote mode, this application will provide a smoother experience to the educators and the educates by replicating the actual offline learning environment.

Table of Contents

  1. How to download
  2. Set up a Virtual Environment
  3. Install dependencies
  4. Update flask-login
  5. Run the website

How to download

  1. Make sure you have Git properly setup using your GitHub account.
  2. Run the following command in terminal to clone this repository in your device locally:
git clone https://github.com/paridhisharma24/LMS.git

Set up a Virtual Environment

  1. Make sure you are in the same directory in which the project was cloned (for simplicity).
  2. Install pip (python 3):
sudo apt update
sudo apt install python3-pip
  1. Install virtual environment package:
pip install virtualenv
  1. Create virtual environment (<venv_name> is user specifiedname):
virtualenv <venv_name>
  1. Activate the virtual environment (make sure you are in the same directory in which venv is created):
for Mac OS/ Linux:
    source <venv_name>/bin/activate
for Windows:
    <venv_name>\Scripts\activate

Install dependencies

  1. To make sure all the packages are installed properly and up-to-date with this project, run:
pip install -r requirements.txt

Update flask-login

  1. Go to:
<venv_name>/bin/flask_login
  1. Open the file mixins.py
  2. In the function get_id of mixins.py, update return statement:
from:
    return text_type(self.id)
to:
    return text_type(self.user_id)

Run the Website

  1. In the terminal, run:
python3 main.py