decentral1se
1 week ago
No known key found for this signature in database
GPG Key ID: 3789458B3D0C410
1 changed files with
5 additions and
4 deletions
-
README.md
|
|
@ -16,7 +16,7 @@ gunicorn --bind 127.0.0.1:5000 upload:APP |
|
|
|
## nginx |
|
|
|
|
|
|
|
Something like this. You need to replace `<DOMAIN>` / `<YOUR-MESSAGE>` / |
|
|
|
`<ABS-PATH>`. It's advised to protect `image_upload` beside some form of |
|
|
|
`<ABS-PATH>`. It's advised to protect `image_upload` behind some form of |
|
|
|
authentication to avoid nasty surprises. |
|
|
|
|
|
|
|
``` |
|
|
@ -62,6 +62,7 @@ RestartSec=5 |
|
|
|
WantedBy=multi-user.target |
|
|
|
``` |
|
|
|
|
|
|
|
Where you replace `<USER>` with your preferred system user. `<ABS-PATH>` should |
|
|
|
be the system path when the repository is cloned. Note, a virtual environment |
|
|
|
was created at `<ABS-PATH>/.venv/...` with the dependencies installed. |
|
|
|
You should replace `<USER>` with your preferred system user. `<ABS-PATH>` |
|
|
|
should be the system path when the repository is cloned. Note, a virtual |
|
|
|
environment should be created at `<ABS-PATH>/.venv/...` with the dependencies |
|
|
|
installed. |
|
|
|