Skip to content

Commit 5cb104d

Browse files
authored
Update README.md
1 parent f73297e commit 5cb104d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.learn/exercises/03.1-app-run/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
After creating our app, we need to run and start the application.
44

5-
When the application runs, it will take over your command line and you will not be able to type on it anymore because a server application (like flask) never stops running. It keeps waiting for "requests" forever.
5+
When the application runs, it will take over your command line, and you will not be able to type on it anymore because a server application (like Flask) never stops running. It keeps waiting for "requests" forever.
66

77
## 📝 Instructions:
88

99
1. Add the following lines at the bottom of your `app.py` file (Remember, this should be inside of your `src` folder on the root directory):
1010

1111
```python
12-
# These two lines should always be at the end of your app.py file.
12+
# These two lines should always be at the end of your app.py file
1313
if __name__ == '__main__':
14-
app.run(host='0.0.0.0', port=3245, debug=True)
14+
app.run(host='0.0.0.0', port=3245, debug=True)
1515
```
1616

1717
> These two lines should always be at the very end of your file.
@@ -27,4 +27,5 @@ $ pipenv run python src/app.py
2727
![Running Terminal](../../assets/running-flask-app.gif?raw=true)
2828

2929
## Command Explanation:
30-
We use our combined `pipenv` command to start up our virtual environment and `run` it using `python`. Our target file for starting our server for future requests is our `src/app.py`.
30+
31+
We use our combined `pipenv` command to start up our virtual environment and *run* it using Python. Our target file for starting our server for future requests is our `src/app.py`.

0 commit comments

Comments
 (0)