refined autoremove support
This commit is contained in:
22
README.md
22
README.md
@@ -1,6 +1,6 @@
|
||||
# FLEES
|
||||
|
||||
A very small file sharing website.
|
||||
A small file sharing website.
|
||||
|
||||
The name comes from mispronouncing "files" very badly.
|
||||
|
||||
@@ -16,14 +16,15 @@ The name comes from mispronouncing "files" very badly.
|
||||
|
||||
- generate and manage shares with `code/flees-manager.py`
|
||||
- configure service with data/config.json
|
||||
- Change your app_secret_key !!
|
||||
- Change your public_url
|
||||
- uid = user id for new files
|
||||
- workers = parallel processes (i.e. one upload reserves a process)
|
||||
- timeout = timeout for processes, single upload might take a long time!
|
||||
- max_zip_size = zipping a share with more data is not allowed
|
||||
- Change your `app_secret_key` !!
|
||||
- Change your `public_url`
|
||||
- Change your `timezone`
|
||||
- `uid` = user id for new files
|
||||
- `workers` = parallel processes (i.e. one upload reserves a process)
|
||||
- `timeout` = timeout for processes, single upload might take a long time!
|
||||
- `max_zip_size` = zipping a share with more data is not allowed
|
||||
- configure bind host and port in .env
|
||||
- proxy with nginx, match body size and timeout to your needs:
|
||||
- proxy with nginx, match bind port, body size and timeout to your needs:
|
||||
```
|
||||
location /flees/ {
|
||||
proxy_pass http://localhost:8136/;
|
||||
@@ -36,7 +37,6 @@ location /flees/ {
|
||||
}
|
||||
```
|
||||
|
||||
- configure local port in `docker-compose.yaml`
|
||||
- change website colors in code/static/css/colors.css
|
||||
|
||||
- Check `flees-manager.py rest` command to get direct links to various
|
||||
@@ -96,11 +96,13 @@ Operation is one of download, direct_download, zip_download, or upload
|
||||
- @app.route('/files/<name>/<token>', methods=['GET'])
|
||||
Return plain text list of files in the share
|
||||
- @app.route('/list/<name>/<token>', methods=['GET'])
|
||||
Login to a share with a token
|
||||
List share contents for the browser
|
||||
- @app.route('/list/<name>', methods=['GET'])
|
||||
List share contents for the browser
|
||||
- @app.route('/logout/<name>', methods=['GET'])
|
||||
Logout from share. Only for browser.
|
||||
- @app.route('/ls/<name>/<token>', methods=['GET'])
|
||||
List share contents for the console client
|
||||
- @app.route('/direct/<name>/<token>/<filename>', methods=['GET'])
|
||||
Download a file using the filename token (if direct download enabled)
|
||||
- @app.route('/download/<name>/<token>/<filename>', methods=['GET'])
|
||||
|
||||
Reference in New Issue
Block a user