From b21316248572cb27ed1f504529ad6680a473022e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 2 Jan 2024 20:42:01 +0100 Subject: gemini --- bin/db.php | 17 +++++++++++++++++ bin/gemini.sh | 11 +++++++++++ 2 files changed, 28 insertions(+) create mode 100755 bin/gemini.sh (limited to 'bin') diff --git a/bin/db.php b/bin/db.php index 84cb85c..8047b42 100644 --- a/bin/db.php +++ b/bin/db.php @@ -195,6 +195,23 @@ DB::query(<< /dev/null; then + apk add entr +fi + +openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem -days 3650 -nodes -subj "/CN=localhost" + +# php $(pwd)/public/index.php +#find $(pwd) -type f -name '*.php' -o -name '*.twig' +find $(pwd) -type f \( -name "*.php" -o -name "*.twig" \) -not \( -path "*/vendor/*" \) | entr -rn php $(pwd)/public/index.php -- cgit v1.2.3