From 16226ae82e86a555f465e17039958ee0746cea36 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 May 2022 00:26:26 -0600 Subject: [PATCH 1/2] Add systemd voila scripts --- notebooks/systemd/voila-wut-alpha.service | 22 ++++++++++++++++++++++ notebooks/systemd/voila-wut-beta.service | 22 ++++++++++++++++++++++ notebooks/systemd/voila-wut.service | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 notebooks/systemd/voila-wut-alpha.service create mode 100644 notebooks/systemd/voila-wut-beta.service create mode 100644 notebooks/systemd/voila-wut.service diff --git a/notebooks/systemd/voila-wut-alpha.service b/notebooks/systemd/voila-wut-alpha.service new file mode 100644 index 0000000..875fc35 --- /dev/null +++ b/notebooks/systemd/voila-wut-alpha.service @@ -0,0 +1,22 @@ +[Unit] +Description=voila-wut-alpha +After=network-online.target +Wants=network-online.target + +[Service] +Environment="PATH=/home/wut/.local/bin:/usr/local/bin:/usr/bin:/bin" +Type=simple +PIDFile=/run/voila.pid +ExecStart=/home/wut/.local/bin/voila --no-browser --port=8871 --ExecutePreprocessor.timeout=600 --autoreload=True --Voila.ip=localhost --VoilaConfiguration.enable_nbextensions=False --theme=dark devel/spacecruft/satnogs-wut/notebooks/wut-web-alpha.ipynb +WorkingDirectory=/home/wut +User=wut +Group=wut +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target + +[Install] +WantedBy=multi-user.target + diff --git a/notebooks/systemd/voila-wut-beta.service b/notebooks/systemd/voila-wut-beta.service new file mode 100644 index 0000000..71e927c --- /dev/null +++ b/notebooks/systemd/voila-wut-beta.service @@ -0,0 +1,22 @@ +[Unit] +Description=voila-wut-beta +After=network-online.target +Wants=network-online.target + +[Service] +Environment="PATH=/home/wut/.local/bin:/usr/local/bin:/usr/bin:/bin" +Type=simple +PIDFile=/run/voila.pid +ExecStart=/home/wut/.local/bin/voila --no-browser --port=8873 --ExecutePreprocessor.timeout=600 --autoreload=True --Voila.ip=localhost --VoilaConfiguration.enable_nbextensions=False --theme=dark devel/spacecruft/satnogs-wut/notebooks/wut-web-beta.ipynb +WorkingDirectory=/home/wut +User=wut +Group=wut +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target + +[Install] +WantedBy=multi-user.target + diff --git a/notebooks/systemd/voila-wut.service b/notebooks/systemd/voila-wut.service new file mode 100644 index 0000000..608d13c --- /dev/null +++ b/notebooks/systemd/voila-wut.service @@ -0,0 +1,22 @@ +[Unit] +Description=voila-wut +After=network-online.target +Wants=network-online.target + +[Service] +Environment="PATH=/home/wut/.local/bin:/usr/local/bin:/usr/bin:/bin" +Type=simple +PIDFile=/run/voila.pid +ExecStart=/home/wut/.local/bin/voila --no-browser --port=8867 --ExecutePreprocessor.timeout=600 --autoreload=True --Voila.ip=localhost --VoilaConfiguration.enable_nbextensions=False --theme=dark devel/spacecruft/satnogs-wut/notebooks/wut-web.ipynb +WorkingDirectory=/home/wut +User=wut +Group=wut +Restart=always +RestartSec=10 + +[Install] +WantedBy=multi-user.target + +[Install] +WantedBy=multi-user.target + From 2d7f366ecc648d592aac5e14a7e671d81c0b7afe Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Mon, 30 May 2022 00:47:12 -0600 Subject: [PATCH 2/2] Sites re-built with new python/tf/keras/debian/etc --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c94a5b6..914e3d1 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,20 @@ observation ID and return an answer whether the observation is ![Image](pics/waterfall-failed.png) ## wut Web +Main site: +* https://wut.spacecruft.org/ Source code: * https://spacecruft.org/spacecruft/satnogs-wut +Beta (test) site: + +* https://wut-beta.spacecruft.org/ + +Alpha (development) site: + +* https://wut-alpha.spacecruft.org/ + ## Observations See also: @@ -55,9 +65,10 @@ Jupyter notebooks into websites. * `wut.ipynb` --- Machine learning Python script using Tensorflow and Keras in a Jupyter Notebook. * `wut-predict.ipynb` --- Make prediction (rating) of observation from pre-existing model. * `wut-train.ipynb` --- Train models to be using by prediction engine. -* `wut-web.ipynb` -* `wut-web-beta.ipynb` -* `wut-web-alpha.ipynb` +* `wut-web.ipynb` --- Website: https://wut.spacecruft.org/ +* `wut-web-beta.ipynb` --- Website: https://wut-beta.spacecruft.org/ +* `wut-web-alpha.ipynb` --- Website: https://wut-alpha.spacecruft.org/ + # wut scripts The following scripts are in the repo.