diff options
-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 |