summaryrefslogtreecommitdiff
path: root/src/webid-oidc-hello
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-12-07 22:20:53 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-19 15:44:36 +0200
commit1cd51a1728a34aaf85b964bff7636733ef732999 (patch)
treed6d7e45c749bcac5fa12ec3fa70226ccab0af621 /src/webid-oidc-hello
parentfeb186bacbf57cb1de4b933eca6f53d259bfcc9d (diff)
Create a hello world server
Diffstat (limited to 'src/webid-oidc-hello')
-rw-r--r--src/webid-oidc-hello12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/webid-oidc-hello b/src/webid-oidc-hello
new file mode 100644
index 0000000..b19481f
--- /dev/null
+++ b/src/webid-oidc-hello
@@ -0,0 +1,12 @@
+#!/usr/local/bin/guile \
+--no-auto-compile -s
+!#
+
+(use-modules (webid-oidc hello-world))
+
+(format (current-error-port) "Logging to hello.log and hello.err.\n")
+
+(set-current-output-port (open-output-file "hello.log"))
+(set-current-error-port (open-output-file "hello.err"))
+
+(main)