From 1ef774f4b87f0133a6dc525ea1650e5a68f50a84 Mon Sep 17 00:00:00 2001 From: Michael Diesen Date: Mon, 24 Jun 2024 12:15:30 +0200 Subject: [PATCH 1/3] Corrected some small errors and missing config. --- source/gettingstarted/tutorial-1-deploy-alerta.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/gettingstarted/tutorial-1-deploy-alerta.rst b/source/gettingstarted/tutorial-1-deploy-alerta.rst index e8f86f3..95f73be 100644 --- a/source/gettingstarted/tutorial-1-deploy-alerta.rst +++ b/source/gettingstarted/tutorial-1-deploy-alerta.rst @@ -65,13 +65,13 @@ Python 3 virtual environment run:: $ cd /opt $ python3 -m venv alerta - $ alerta/bin/pip install --upgrade pip wheel alerta-server alerta uwsgi + $ alerta/bin/pip install --upgrade pip wheel alerta-server alerta uwsgi pymongo To install the web console run:: $ wget https://github.com/alerta/alerta-webui/releases/latest/download/alerta-webui.tar.gz $ tar zxvf alerta-webui.tar.gz - $ cp dist /var/www/html + $ cp -a dist /var/www/html Step 2: Configuration --------------------- @@ -131,9 +131,9 @@ on reboot: .. code-block:: console - $ sudo service start uwsgi - $ sudo service status uwsgi - $ sudo service enable uwsgi + $ sudo systemctl start uwsgi + $ sudo systemctl status uwsgi + $ sudo systemctl enable uwsgi :: @@ -167,6 +167,7 @@ the web console as static assets. location / { root /var/www/html; + try_files $uri $uri/ /index.html; } } From a31ad82c48cb101c486f4dcf389790a2c58a538c Mon Sep 17 00:00:00 2001 From: Michael Diesen Date: Mon, 24 Jun 2024 12:22:14 +0200 Subject: [PATCH 2/3] add workflow_dispatch to test action --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index eaccb32..24f671e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,6 +1,7 @@ name: Tests on: + workflow_dispatch: push: pull_request: branches: [ master ] From 142cd86db70a062bf49142ea87b86a681567137a Mon Sep 17 00:00:00 2001 From: Michael Diesen Date: Mon, 24 Jun 2024 12:25:33 +0200 Subject: [PATCH 3/3] Revert "add workflow_dispatch to test" This reverts commit a31ad82c48cb101c486f4dcf389790a2c58a538c. --- .github/workflows/tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 24f671e..eaccb32 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,6 @@ name: Tests on: - workflow_dispatch: push: pull_request: branches: [ master ]