Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
BobsProgrammingAcademy committed Nov 1, 2023
1 parent d09eb7a commit 72fcd9d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ Install the following prerequisites:

#### 1. Create a virtual environment

From the **root** directory run:
From the **root** directory, run:

```bash
python -m venv venv
```

#### 2. Activate the virtual environment

From the **root** directory run:
From the **root** directory, run:

On macOS:

Expand All @@ -53,15 +53,15 @@ venv\scripts\activate

#### 3. Install required dependencies

From the **root** directory run:
From the **root** directory, run:

```bash
pip install -r requirements.txt
```

#### 4. Set up a PostgreSQL database

With **PostgreSQL** up and running, in a new Terminal window run:
With **PostgreSQL** up and running, in a new Terminal window, run:

```bash
dropdb --if-exists auctions
Expand Down Expand Up @@ -93,7 +93,7 @@ To quit **psql**, run:

#### 5. Set up environment variables

From the **root** directory run:
From the **root** directory, run:

```bash
touch .env
Expand All @@ -114,7 +114,7 @@ DATABASE_HOST=localhost

#### 6. Run migrations

From the **root** directory run:
From the **root** directory, run:

```bash
python manage.py makemigrations
Expand All @@ -125,7 +125,7 @@ python manage.py migrate

#### 7. Create an admin user to access the Django Admin interface

From the **root** directory run:
From the **root** directory, run:

```bash
python manage.py createsuperuser
Expand All @@ -135,7 +135,7 @@ When prompted, enter a username, email, and password.

### Run the application

From the **root** directory run:
From the **root** directory, run:

```bash
python manage.py runserver
Expand Down

0 comments on commit 72fcd9d

Please sign in to comment.