Created build server configuration.
This commit is contained in:
@@ -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).
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user