This project is a learning management system built using VueJS, Django 4.0 and Docker for the Database
- Python3.8
- Node
- Docker
- 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.
- open terminal and type
- 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
andpython manage.py createsuperuser
to create an admin user. - Ensures all steps above runs without errors, then
python manage.py runserver
- cd into front_end folder
- in terminal run
npm install
- then
npm run serve
Raise an issue for any suggestions or issues encountered.