Skip to content

Commit 985c177

Browse files
committed
Added -p to create parent directories and avoid 'No such file error'
1 parent aaf7b32 commit 985c177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/How To Deploy Python App Using uWSGI And Nginx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ In this section, we will pull our code from `GitHub`, which integrates a popular
177177
First, we create a folder called `items-rest` for our app, since our sample project is a REST API which manages items of stores. We create this folder using the following command:
178178

179179
```
180-
sudo mkdir /var/www/html/items-rest
180+
sudo mkdir -p /var/www/html/items-rest
181181
```
182182

183183
The folder is owned by the `root` user since we used `sudo` to create it. We need to transfer ownership to our current user:

0 commit comments

Comments
 (0)