update readme
Seto Elkahfi committed
Dec 29, 2024 at 17:47 UTC
a27d35db8875dcea1a307b0fc79f3286a9b472d2
1 file changed
+8
-3
README.md
+8
-3
@@ -1,6 +1,6 @@
1
# personal-website
2
3
-This is the source and **nginx** config files for my personal website.
3
+This is the source and **nginx** config file for my personal website.
4
5
## deployment
6
@@ -10,14 +10,19 @@ Given you have the key to the server:
10
$ scp index.html deploy@api.smbcloud.xyz:/var/www/setoelkahfi.com
11
```
12
13
-Of course that will not work because of permission denied error. So, upload to home folder:
13
+Of course that will not work because of the `permission denied` error. So, upload to the `home` folder:
14
15
```bash
16
$ scp index.html deploy@api.smbcloud.xyz:
17
$ scp -r src deploy@api.smbcloud.xyz:
18
```
19
20
-Then move them to `/var/www/setoelkahfi.com/`.
20
+Then move them to `/var/www/setoelkahfi.com/`:
21
+
22
+```bash
23
+$ sudo mv index.html /var/www/setoelkahfi.com/
24
+$ sudo mv src /var/www/setoelkahfi.com/src
25
+```
26
27
## nginx
28