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
{{ message }}
This repository was archived by the owner on Dec 20, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Upduck is a simple HTTP and HTTPS static file server that integrates with [DuckD
6
6
**Disclaimer**: Using this program with the `-email` flag signifies your acceptance to the [Let's Encrypt's Subscriber Agreement and/or Terms of Service](https://letsencrypt.org/repository/).
7
7
8
8
### How to use
9
-
The help section of the program tries to be as helpful as possible:
9
+
The help section of the program tries to be as helpful as possible, make sure you read the section with examples:
10
10
11
11
```
12
12
$ upduck -h
@@ -88,19 +88,20 @@ You can either compile this program or download a release.
88
88
#### Downloading
89
89
You can [download a version for your system](https://github.com/xarantolus/upduck/releases/latest) and move it anywhere you want. It is recommended to put the executable in a directory from your [`$PATH`](https://superuser.com/a/284351).
90
90
91
-
On a Raspberry Pi you would copy the link and start downloading the program:
91
+
On a Raspberry Pi the following command should download the right executable:
Then move it to your `$PATH` to make it accessible everywhere:
100
101
101
-
mv upduck-raspberrypi /usr/bin/upduck
102
+
mv upduck /usr/bin/upduck
102
103
103
-
Now you should be able to run `upduck` from anywhere. This is especially useful combined with using`-dir .`when[saving settings](#saving-settings) as it will serve the current directory you're in.
104
+
Now you should be able to run `upduck` from anywhere. This is especially useful if you set`-dir .`while[saving settings](#saving-settings), as now it always serves directory you're currently in.
104
105
105
106
If you want to use ports below `1024` and run `upduck` without root (sudo), you can [set the `CAP_NET_BIND_SERVICE` permission](https://stackoverflow.com/a/414258):
0 commit comments