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: en/step_5.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,17 @@
2
2
3
3
Now you're going to set up a basic web application with Flask and Python. You will be able to run a single web page and display some text on a web browser.
4
4
5
-
- Open the **File Manager** and create a new folder for your project.
5
+
- Using the Terminal, make a new directory for your project.
6
+
7
+
```bash
8
+
mkdir webapp
9
+
```
10
+
11
+
- Use the change directory command to open it.
12
+
13
+
```bash
14
+
cd webapp
15
+
```
6
16
7
17
- Open Python 3 from the main menu.
8
18
@@ -27,7 +37,9 @@ Now you're going to set up a basic web application with Flask and Python. You wi
27
37
28
38
Note here the `host='0.0.0.0'` means the web app will be accessible to any device on the network.
29
39
30
-
- Save the filewith`Ctrl + S`. Now return to the Terminal window and enter `python3 app.py` to run the web server.
40
+
- Save the filewith`Ctrl + S`.
41
+
42
+
- Return to the Terminal window and enter `python3 app.py` to run the web server.
31
43
32
44
If everything has been written correctly, you should see an output similar to this:
0 commit comments