From 0906d9ec6ca7e16449466f62e84a0bbb2a4ccb74 Mon Sep 17 00:00:00 2001 From: Adil Mohak <60693922+adilmohak@users.noreply.github.com> Date: Thu, 4 Jan 2024 21:54:23 +0300 Subject: [PATCH] Update README.md --- README.md | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6277027..0b0f92a 100644 --- a/README.md +++ b/README.md @@ -46,14 +46,21 @@ Current features # 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 -- `pip install -r requirements.txt` +```bash +pip install -r requirements.txt +``` - Create `.env` file inside the root directory and include the following variables -```config + +```bash DB_NAME=[YOUR_DB_NAME] DB_USER=[DB_ADMIN_NAME] DB_PASSWORD=[DB_ADMIN_PASSWORD] @@ -65,11 +72,17 @@ 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