namratab94 / course_management_system

Trainly.io - A course management system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

DBMS - Project

Presentation Videos

How to Use:

Prerequisites:

  • Git
  • Python
  • Pip (a.k.a python-pip)

Setting up the project

  1. Check Prerequisites:

If you are on a Window's machine, please perform the following:

  • Install MINGW if not already installed.
  • Install Git if not already installed.
  • Install Python if not already installed.
  • Add the corresponding bin directories to your PATH variable if not already added.
  • Open MINGW.
  • Run git, python, and pip commands to verify installation.

If you are on a Mac or Ubuntu, install the prerequisites through your favorite package manager.

  1. In your computer's terminal, clone this repository. This may require a github login.
git clone https://github.com/namratab94/course_management_system.git
  1. Install Virtual Environments on your local instance.

For Ubuntu:

sudo pip install virtualenv

For Windows/Mac:

pip install virtualenv
  1. Load the Flask virtual environment.
# Navigate to the course_management_system directory
virtualenv flask
  1. Activate the flask environment.

For Ubuntu/Mac:

# Navigate to your course_management_system directory
flask/bin/activate

For Windows:

# Navigate to your course_management_system directory
flask/bin/activate.bat
  1. Then install the packages required for the flask application to run:

For Mac/Windows:

# Navigate to the requirements file (cd ~course_management_system/dbms_project)
pip install -r requirements.txt

For Ubuntu:

# Navigate to the requirements file (cd ~course_management_system/dbms_project)
sudo pip install -r requirements.txt

Running the Project

  1. To start the server at port 8888:
# Navigate to your course_management_system/dbms_flask/ folder.
python main.py
  1. Open your web browser and go to localhost:8888.

This will load the login page. The login credentials of an admin are:

  • Username: Rado
  • Password: ddd

About

Trainly.io - A course management system


Languages

Language:Python 61.0%Language:HTML 34.8%Language:CSS 4.1%