fileHost/README.md

12 lines
668 B
Markdown
Raw Normal View History

2018-02-19 23:01:28 -05:00
upload shit
2018-02-19 23:16:00 -05:00
Note: I switched to Gunicorn at some point because Bjoern was somehow annoying. Don't use run.py, use
2018-02-20 00:07:17 -05:00
2018-07-31 14:49:06 -04:00
```gunicorn -b localhost:5000 -e SCRIPT_NAME=/upload fileHost:app```
2018-02-20 00:07:17 -05:00
Dependencies:
2018-06-12 08:51:54 -04:00
```passlib argon2_cffi flask gunicorn flask-paranoid apscheduler```
2018-02-20 00:07:17 -05:00
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`.