From 1727990f45e5666abcadd2d21c4a0ef910505e58 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 24 Aug 2022 16:33:18 -0400 Subject: reqs --- .gitignore | 1 + forbidden-salamanders.service | 12 ++++++++++++ requirements.txt | 5 +++++ 3 files changed, 18 insertions(+) create mode 100644 forbidden-salamanders.service create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore index 3d51db0..0806a30 100644 --- a/.gitignore +++ b/.gitignore @@ -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 -- cgit v1.2.3