You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ada-project-docs/setup.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The goal for setup is to cover all of the set up needed at the beginning of this
9
9
1. Setting up development and test databases
10
10
1. Setting up a `.env` file
11
11
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`
13
13
14
14
# Requirements
15
15
@@ -63,14 +63,14 @@ Run `$ flask db init`.
63
63
64
64
**_After you make your first model in Wave 1_**, run the other commands `flask db migrate` and `flask db upgrade`.
65
65
66
-
## Run `$ flask run` or `$ FLASK_ENV=development flask run`
66
+
## Run `$ flask run` or `$ flask run --debug`
67
67
68
68
Check that your Flask server can run with `$ flask run`.
69
69
70
70
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.
71
71
72
72
```bash
73
-
$ FLASK_ENV=development flask run
73
+
$ flask run --debug
74
74
```
75
75
76
76
**It is highly recommended to run the Flask servers with this command**.
0 commit comments