summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-11-22 16:33:01 +0100
committerDaniel Weipert <code@drogueronin.de>2023-11-22 16:33:01 +0100
commit95d1b9428f3fc97f92c463c50c2afd17a5b5444e (patch)
tree98b1e4a3c9c59033fe51f508dc3bd46652eacac1 /Justfile
parent8bf926db1926665ad8a376971a6e35f33269b8d4 (diff)
enhance local testing
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Justfile b/Justfile
new file mode 100644
index 0000000..2c75d5f
--- /dev/null
+++ b/Justfile
@@ -0,0 +1,9 @@
+test:
+ GEMINI_HOST=localhost php -S localhost:8080 -t test test/index.php
+
+
+server:
+ php test/server.php
+
+cert-server:
+ openssl req -x509 -newkey rsa:4096 -keyout test/key.rsa -out test/cert.pem -days 3650 -nodes -subj "/CN=localhost"