Created build server configuration.

This commit is contained in:
2024-11-26 06:04:33 +01:00
parent 1ed30e0d80
commit 3bd46cb640
19 changed files with 61 additions and 3 deletions
+28 -2
View File
@@ -24,6 +24,32 @@ python3 -m venv .venv
```
## Usage
```
rupload.serve [host(127.0.0.1)] [port] [destination path for uploads] [max file size in bytes]
```bash
rupload.serve [-h]
[--hostname HOSTNAME]
[--port PORT]
[--upload_folder UPLOAD_FOLDER]
[--upload_url UPLOAD_URL]
[--max_file_size MAX_FILE_SIZE]
Start the file upload server.
options:
-h, --help show this help message
and exit
--hostname HOSTNAME The hostname for the
server.
--port PORT The port to bind the
server to.
--upload_folder UPLOAD_FOLDER
Directory to store
uploaded files.
--upload_url UPLOAD_URL
HTTP(S) URL where the
server will serve the
uploaded files.
--max_file_size MAX_FILE_SIZE
Maximum file size in
bytes (default is
50MB).
```