From 7b46f212034895b760cc4e6f70ac782314d45ea1 Mon Sep 17 00:00:00 2001 From: Adil Mohak <60693922+adilmohak@users.noreply.github.com> Date: Thu, 2 Feb 2023 18:01:13 +0300 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 33471e2..7191f16 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,19 @@ Current features # Installation -First Clone the repo with `git clone https://github.com/adilmohak/django-lms.git` +- First Clone the repo with `git clone https://github.com/adilmohak/django-lms.git` -Run the following command inside the root directory +- Create and activate a python virtual environment -`pip install -r requirements.txt` +- `pip install -r requirements.txt` -Then open your `settings.py` file and setup your database (name, username, password) +- Create `.env` file inside the root directory and setup your database (DB_NAME, DB_USER, DB_PASSWORD, DB_PORT) -`python manage.py runserver` +- `python manage.py makemigrations` + +- `python manage.py migrate` + +- `python manage.py runserver` Last but not least, go to this address http://127.0.0.1:8000