Skip to content

Commit c283227

Browse files
authored
Merge pull request #14 from raspberrypilearning/draft
fix issues 11 & 12
2 parents aaa3f4a + 9109464 commit c283227

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

en/step_2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
## What you will need
22

3+
### Hardware
4+
5+
+ A Raspberry Pi computer

en/step_5.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22

33
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.
44

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+
```
616

717
- Open Python 3 from the main menu.
818

@@ -27,7 +37,9 @@ Now you're going to set up a basic web application with Flask and Python. You wi
2737

2838
Note here the `host='0.0.0.0'` means the web app will be accessible to any device on the network.
2939

30-
- Save the file with `Ctrl + S`. Now return to the Terminal window and enter `python3 app.py` to run the web server.
40+
- Save the file with `Ctrl + S`.
41+
42+
- Return to the Terminal window and enter `python3 app.py` to run the web server.
3143

3244
If everything has been written correctly, you should see an output similar to this:
3345

0 commit comments

Comments
 (0)