From 6ccada24d2ad2fd3a7b11ba8bd6fee2f963dcfcf Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 12:29:01 +0100 Subject: [PATCH 1/9] Fix Build in POSIX Shell --- deploy.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.php b/deploy.php index 36cd8e31..c7f68631 100644 --- a/deploy.php +++ b/deploy.php @@ -33,17 +33,17 @@ # Install the requirements task('python:venv:requirements', static function () { - run('source .venv/bin/activate && pip install -r requirements/base.txt'); + run('. .venv/bin/activate && pip install -r requirements/base.txt'); }); task('python:generate_redirects', static function () { run('mkdir -p etc/nginx'); - run('source .venv/bin/activate && bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); + run('. .venv/bin/activate && bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); }); # Build the documentation task('python:build_documentation', static function () { - run('source .venv/bin/activate && bin/build_docs'); + run('. .venv/bin/activate && bin/build_docs'); run('ln -sf docs/_build/html pub'); }); From d1ba4b53ef75d123cd7422190fbde99a0fabee72 Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 12:37:03 +0100 Subject: [PATCH 2/9] Fix Build in POSIX Shell --- deploy.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deploy.php b/deploy.php index c7f68631..7cfc7a0e 100644 --- a/deploy.php +++ b/deploy.php @@ -33,17 +33,16 @@ # Install the requirements task('python:venv:requirements', static function () { - run('. .venv/bin/activate && pip install -r requirements/base.txt'); + run('./.venv/bin/pip install -r requirements/base.txt'); }); task('python:generate_redirects', static function () { run('mkdir -p etc/nginx'); - run('. .venv/bin/activate && bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); + run('./.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); }); -# Build the documentation task('python:build_documentation', static function () { - run('. .venv/bin/activate && bin/build_docs'); + run('./.venv/bin/python bin/build_docs'); run('ln -sf docs/_build/html pub'); }); From f0254728aef19a55a01b44de3046b8d7356206d6 Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 12:50:53 +0100 Subject: [PATCH 3/9] Fix Build in POSIX Shell --- deploy.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy.php b/deploy.php index 7cfc7a0e..06bd90b6 100644 --- a/deploy.php +++ b/deploy.php @@ -33,16 +33,17 @@ # Install the requirements task('python:venv:requirements', static function () { - run('./.venv/bin/pip install -r requirements/base.txt'); + run('.venv/bin/pip install -r requirements/base.txt'); }); task('python:generate_redirects', static function () { run('mkdir -p etc/nginx'); - run('./.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); + run('.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); }); +# Build the documentation task('python:build_documentation', static function () { - run('./.venv/bin/python bin/build_docs'); + run('bash -lc ". .venv/bin/activate && bin/build_docs"'); run('ln -sf docs/_build/html pub'); }); From 20786481a69c257f1401a2ef47fd5fce8c75be00 Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 12:54:17 +0100 Subject: [PATCH 4/9] Fix Build in POSIX Shell --- deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.php b/deploy.php index 06bd90b6..60a835fa 100644 --- a/deploy.php +++ b/deploy.php @@ -43,7 +43,7 @@ # Build the documentation task('python:build_documentation', static function () { - run('bash -lc ". .venv/bin/activate && bin/build_docs"'); + run('./.venv/bin/sphinx-build -b html docs docs/_build/html'); run('ln -sf docs/_build/html pub'); }); From 7bd2f9c6154bc6a40b1a3fccb5ca6e9866a878cf Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 12:59:51 +0100 Subject: [PATCH 5/9] Fix Build in POSIX Shell --- deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.php b/deploy.php index 60a835fa..a9cfd5dc 100644 --- a/deploy.php +++ b/deploy.php @@ -38,7 +38,7 @@ task('python:generate_redirects', static function () { run('mkdir -p etc/nginx'); - run('.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); + run('PYTHONPATH=$(pwd) .venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); }); # Build the documentation From cdabb8b6dd8cbda765027781ad1c947cf35e43f5 Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 13:21:03 +0100 Subject: [PATCH 6/9] Fix Build in POSIX Shell --- deploy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.php b/deploy.php index a9cfd5dc..0c86beca 100644 --- a/deploy.php +++ b/deploy.php @@ -28,7 +28,6 @@ } run('mkdir -p .hypernode'); run('virtualenv -p python3 .venv'); - run('echo export PYTHONPATH=$(pwd) >> .venv/bin/activate'); }); # Install the requirements @@ -38,7 +37,8 @@ task('python:generate_redirects', static function () { run('mkdir -p etc/nginx'); - run('PYTHONPATH=$(pwd) .venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); + run('export PYTHONPATH=$(pwd)'); + run('.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); }); # Build the documentation From 6a96d37d51e6a6eaf828b5d5b118c300cecb7a26 Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 13:27:24 +0100 Subject: [PATCH 7/9] Fix Build in POSIX Shell --- deploy.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy.php b/deploy.php index 0c86beca..413af046 100644 --- a/deploy.php +++ b/deploy.php @@ -28,22 +28,22 @@ } run('mkdir -p .hypernode'); run('virtualenv -p python3 .venv'); + run('echo export PYTHONPATH=$(pwd) >> .venv/bin/activate'); }); # Install the requirements task('python:venv:requirements', static function () { - run('.venv/bin/pip install -r requirements/base.txt'); + run('source .venv/bin/activate && pip install -r requirements/base.txt'); }); task('python:generate_redirects', static function () { run('mkdir -p etc/nginx'); - run('export PYTHONPATH=$(pwd)'); - run('.venv/bin/python bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); + run('source .venv/bin/activate && bin/generate_nginx_redirects > etc/nginx/server.redirects.conf'); }); # Build the documentation task('python:build_documentation', static function () { - run('./.venv/bin/sphinx-build -b html docs docs/_build/html'); + run('.venv/bin/sphinx-build -b html docs docs/_build/html'); run('ln -sf docs/_build/html pub'); }); From b45232d1abc4b85685147d0d606bfb9d2e8fa6c7 Mon Sep 17 00:00:00 2001 From: Burak Albayrak Date: Tue, 30 Dec 2025 13:30:43 +0100 Subject: [PATCH 8/9] Fix Build in POSIX Shell --- .../nginx/how-to-set-up-an-application-proxy-nginx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md b/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md index a45e4034..d5ca0206 100644 --- a/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md +++ b/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md @@ -1,8 +1,8 @@ --- myst: html_meta: - description: Learn how to set up an Nginx application proxy on Hypernode using Managed Vhosts: create a proxy vhost and point it to your app - title: How to set up an application proxy in Nginx? | Hypernode + description: "Learn how to set up an Nginx application proxy on Hypernode using Managed Vhosts: create a proxy vhost and point it to your app" + title: "How to set up an application proxy in Nginx? | Hypernode" --- # How to Set Up an Application Proxy in Nginx From 83a7497d1c3c5f5f5cebbeafe4b56c25e33e4aa9 Mon Sep 17 00:00:00 2001 From: Burak <13779866+ikidnapmyself@users.noreply.github.com> Date: Tue, 30 Dec 2025 13:33:44 +0100 Subject: [PATCH 9/9] Update docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../nginx/how-to-set-up-an-application-proxy-nginx.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md b/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md index d5ca0206..954e721d 100644 --- a/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md +++ b/docs/hypernode-platform/nginx/how-to-set-up-an-application-proxy-nginx.md @@ -1,8 +1,9 @@ --- myst: html_meta: - description: "Learn how to set up an Nginx application proxy on Hypernode using Managed Vhosts: create a proxy vhost and point it to your app" - title: "How to set up an application proxy in Nginx? | Hypernode" + description: 'Learn how to set up an Nginx application proxy on Hypernode using + Managed Vhosts: create a proxy vhost and point it to your app' + title: How to set up an application proxy in Nginx? | Hypernode --- # How to Set Up an Application Proxy in Nginx