decentral1se
6 days 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 |
|
|
## nginx |
|
|
|
|
|
|
|
|
Something like this. You need to replace `<DOMAIN>` / `<YOUR-MESSAGE>` / |
|
|
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. |
|
|
authentication to avoid nasty surprises. |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
@ -62,6 +62,7 @@ RestartSec=5 |
|
|
WantedBy=multi-user.target |
|
|
WantedBy=multi-user.target |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
Where you replace `<USER>` with your preferred system user. `<ABS-PATH>` should |
|
|
You should replace `<USER>` with your preferred system user. `<ABS-PATH>` |
|
|
be the system path when the repository is cloned. Note, a virtual environment |
|
|
should be the system path when the repository is cloned. Note, a virtual |
|
|
was created at `<ABS-PATH>/.venv/...` with the dependencies installed. |
|
|
environment should be created at `<ABS-PATH>/.venv/...` with the dependencies |
|
|
|
|
|
installed. |
|
|