12 lines
677 B
Markdown
12 lines
677 B
Markdown
upload shit
|
|
|
|
Note: I switched to Gunicorn at some point because Bjoern was somehow annoying. Don't use run.py, use
|
|
|
|
```gunicorn -b localhost:5000 -e SCRIPT_NAME=/upload fileHost:app```
|
|
|
|
Dependencies:
|
|
|
|
```passlib argon2_cffi flask gunicorn flask-paranoid apscheduler requests```
|
|
|
|
This application makes use of the `secrets` module (a cryptographically strong version of `random`) from the standard library, which is only available in Python 3.6+. If you really can't be bothered use the latest version of python3, or just don't want cryptographically strong random character filenames/prefixes for some reason, you can directly replace all instances of `secrets` with `random`.
|