Update README.md

This commit is contained in:
Alvie Rahman 2021-05-18 18:15:44 +01:00 committed by GitHub
parent 37ce328f7c
commit 597e5dba90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,12 @@
# uploadr # uploadr
Upload files to a server on your local network for faster and simpler file transfers across a network. Upload files to a server on your local network for faster and simpler file transfers across a network.
## upload from command line
```bash
curl -X POST -i -F "file=@<filepath>" host:5000/upload
```
## config ## config
The config file for uploadr is very simple. It should be in a class called `uploadr` in a file called `config.py`. It should be valid python and the two options needed are `domain` and `port` which are both used for the creation of QR code links. The file can also be used as the config file for The config file for uploadr is very simple. It should be in a class called `uploadr` in a file called `config.py`. It should be valid python and the two options needed are `domain` and `port` which are both used for the creation of QR code links. The file can also be used as the config file for
gunicorn. Here is an example below: gunicorn. Here is an example below: