Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.26 KB

Django-LMS

This project is a learning management system built using VueJS, Django 4.0 and Docker for the Database

Requirements

  • Python3.8
  • Node
  • Docker

Starting the backend

  • Clone this repo
  • cd into DJANGO-LMS
  • Create & activate a virtual environment, this can be done with either Virtualenv or Pipenv
  • run pip install -r requirements.txt to install all necessary modules.
  • Make a demo project to get a Secret_Key generated by django
    • open terminal and type django-admin startproject demo
    • Now go to settings.py of the demo project and copy the SECRET_KEY
    • Navigate to the cloned folder and open the setting.py and paste the copied SECRET_KEY.
  • run docker-compose up to build and startup the DB (ensure this step completes before moving to the next)
  • cd into lms folder and run python manage.py makemigrations, python manage.py migrate and python manage.py createsuperuser to create an admin user.
  • Ensures all steps above runs without errors, then python manage.py runserver

Starting Up the Frontend

  • cd into front_end folder
  • in terminal run npm install
  • then npm run serve

Raise an issue for any suggestions or issues encountered.