note about dependencies and secrets

This commit is contained in:
iou1name 2018-02-20 00:07:17 -05:00
parent 6c38934d88
commit 94de630311

View File

@ -1,4 +1,11 @@
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 imageHost:app```
```gunicorn -b localhost:5000 fileHost:app```
Dependencies:
```passlib argon2_cffi flask gunicorn```
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`.