Skip to content

Commit 74a8f98

Browse files
committed
updates development mode command
1 parent 17cda76 commit 74a8f98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ada-project-docs/setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The goal for setup is to cover all of the set up needed at the beginning of this
99
1. Setting up development and test databases
1010
1. Setting up a `.env` file
1111
1. Running `$ flask db init`
12-
1. Running `$ flask run` and `$ FLASK_ENV=development flask run`
12+
1. Running `$ flask run` and `$ flask run --debug`
1313

1414
# Requirements
1515

@@ -63,14 +63,14 @@ Run `$ flask db init`.
6363

6464
**_After you make your first model in Wave 1_**, run the other commands `flask db migrate` and `flask db upgrade`.
6565

66-
## Run `$ flask run` or `$ FLASK_ENV=development flask run`
66+
## Run `$ flask run` or `$ flask run --debug`
6767

6868
Check that your Flask server can run with `$ flask run`.
6969

7070
We can run the Flask server specifying that we're working in the development environment. This enables hot-reloading, which is a feature that refreshes the Flask server every time there is a detected change.
7171

7272
```bash
73-
$ FLASK_ENV=development flask run
73+
$ flask run --debug
7474
```
7575

7676
**It is highly recommended to run the Flask servers with this command**.

0 commit comments

Comments
 (0)