Merge branch 'main' of github.com:adilmohak/django-lms

This commit is contained in:
papi 2024-01-04 23:01:36 +03:00
commit 15a0aa17f2

View File

@ -2,7 +2,7 @@
Feature-rich learning management system. Let's enhance the project by contributing! 👩‍💻👩‍💻 Feature-rich learning management system. Let's enhance the project by contributing! 👩‍💻👩‍💻
- Demo video: https://youtu.be/KKIeRXwZ-Sw *Please note that the video does not feature the most recent UI design.* - Demo video: https://youtu.be/KKIeRXwZ-Sw *Please note that the video does not showcase the latest updates on UI design and backend functionality.*
- Setup video: https://youtu.be/gMJfENDEyUs - Setup video: https://youtu.be/gMJfENDEyUs
![Screenshot from 2023-12-31 17-36-31](https://github.com/adilmohak/django-lms/assets/60693922/e7fb628a-6275-4160-ae0f-ab27099ab3ca) ![Screenshot from 2023-12-31 17-36-31](https://github.com/adilmohak/django-lms/assets/60693922/e7fb628a-6275-4160-ae0f-ab27099ab3ca)
@ -46,29 +46,43 @@ Current features
# Installation # Installation
- Clone the repo with `git clone https://github.com/adilmohak/django-lms.git` - Clone the repo with
```bash
git clone https://github.com/adilmohak/django-lms.git
```
- Create and activate a python virtual environment - Create and activate a python virtual environment
- `pip install -r requirements.txt` ```bash
pip install -r requirements.txt
```
- Create `.env` file inside the root directory and include the following variables - Create `.env` file inside the root directory and include the following variables
```config
```bash
DB_NAME=[YOUR_DB_NAME] DB_NAME=[YOUR_DB_NAME]
DB_USER=[DB_ADMIN_NAME] DB_USER=[DB_ADMIN_NAME]
DB_PASSWORD=[DB_PASSWORD] DB_PASSWORD=[DB_ADMIN_PASSWORD]
DB_HOST=localhost DB_HOST=localhost
DB_PORT= DB_PORT=[YOUR_POSTGRES_PORT default is 5432]
USER_EMAIL=[YOUR_EMAIL] USER_EMAIL=[YOUR_EMAIL]
USER_PASSWORD=[EMAIL_PASSWORD] USER_PASSWORD=[EMAIL_PASSWORD]
DEBUG=True DEBUG=True
SECRET_KEY=[YOUR_SECRET_KEY]
``` ```
- `python manage.py makemigrations` ```bash
python manage.py makemigrations
```
- `python manage.py migrate` ```bash
python manage.py migrate
```
- `python manage.py runserver` ```bash
python manage.py runserver
```
Last but not least, go to this address http://127.0.0.1:8000 Last but not least, go to this address http://127.0.0.1:8000