diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-31 14:22:39 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-31 14:22:39 -0700 |
commit | f0c01f9739a0c237c193dc9020273a47c19bb621 (patch) | |
tree | bf7ccabca043a036044387fdff65f930a37d62d5 /extra/uwsgi_fatcat-web.sh | |
parent | bf085b31ac3790ce24feb07dfed6b0e7574ed183 (diff) | |
download | fatcat-f0c01f9739a0c237c193dc9020273a47c19bb621.tar.gz fatcat-f0c01f9739a0c237c193dc9020273a47c19bb621.zip |
start tracking deployment examples
Diffstat (limited to 'extra/uwsgi_fatcat-web.sh')
-rw-r--r-- | extra/uwsgi_fatcat-web.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/uwsgi_fatcat-web.sh b/extra/uwsgi_fatcat-web.sh new file mode 100644 index 00000000..112d7857 --- /dev/null +++ b/extra/uwsgi_fatcat-web.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +set -eu + +# sudo mkdir /var/run/fatcat-web +# sudo chown bnewbold:bnewbold /var/run/fatcat-web/ + +FATCAT_WEB_DIR=python +cd $FATCAT_WEB_DIR + +uwsgi \ + -s /var/run/fatcat-web/uwsgi.sock \ + --manage-script-name --mount \ + --plugin python3 \ + --virtualenv .venv \ + --mount /:fatcat:app |