Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adilmohak authored Jan 4, 2024
1 parent ebf03f1 commit 0906d9e
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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

Expand Down

0 comments on commit 0906d9e

Please sign in to comment.