diff options
author | cyfraeviolae <cyfraeviolae> | 2022-08-24 16:33:18 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2022-08-24 16:33:18 -0400 |
commit | 1727990f45e5666abcadd2d21c4a0ef910505e58 (patch) | |
tree | bef7944434713449bd4cb361d649fc39076bf3ad | |
parent | 7872bbcaf421bbb2fd3ab5fb1283e9cb8282a02f (diff) |
reqs
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | forbidden-salamanders.service | 12 | ||||
-rw-r--r-- | requirements.txt | 5 |
3 files changed, 18 insertions, 0 deletions
@@ -1,2 +1,3 @@ .ipynb_checkpoints tmp +venv/ diff --git a/forbidden-salamanders.service b/forbidden-salamanders.service new file mode 100644 index 0000000..01a7304 --- /dev/null +++ b/forbidden-salamanders.service @@ -0,0 +1,12 @@ +[Unit] +Description=forbidden-salamanders +After=network.target + +[Service] +Type=simple +Restart=on-failure +ExecStart=/srv/forbidden-salamanders/venv/bin/waitress-serve --host 127.0.0.1 --port 9010 app:app +WorkingDirectory=/srv/forbidden-salamanders/ + +[Install] +WantedBy=multi-user.target diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..34e26ed --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +Flask +Flask-WTF +numpy +pycryptodome +waitress |