From 8ad38808688a6cefa5d88e66cef80caa5f780232 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 23 Dec 2022 12:38:13 +0100 Subject: Instructions for GN1 --- topics/starting_gn1.gmi | 8 ++++++++ topics/systems/gn-services.gmi | 6 ++++++ 2 files changed, 14 insertions(+) (limited to 'topics') diff --git a/topics/starting_gn1.gmi b/topics/starting_gn1.gmi index a5788ab..efbfd0f 100644 --- a/topics/starting_gn1.gmi +++ b/topics/starting_gn1.gmi @@ -92,3 +92,11 @@ gn1@tux01:~/production/gnshare/gn-pjotr-test$ scp pjotr@lily.genenetwork.org:/gnshare/gn/web/javascript/*.js web/javascript/ git status ``` + +## Updating httpd.conf + +To update the httpd.conf you need to edit the system file in guix-bioinformatics. It can be built with + +``` +guix build -L ~/guix-past/modules/ -L ~/guix-bioinformatics/ -e '(@ (gn services gn1-httpd-config) GN1-httpd-config)' +``` diff --git a/topics/systems/gn-services.gmi b/topics/systems/gn-services.gmi index 4215f68..cfe72ef 100644 --- a/topics/systems/gn-services.gmi +++ b/topics/systems/gn-services.gmi @@ -28,6 +28,9 @@ Test with ``` curl localhost:8080/version {"version":"0.2.1"} + +curl https://genenetwork.org/gn3-proxy/version +{"version":"0.2.1"} ``` To deploy by hand use @@ -56,6 +59,9 @@ curl http://localhost:8000/gene/aliases/BRCA2 curl http://localhost:8000/ [ "Hello GeneNetwork3!" ] +curl https://genenetwork.org/gn3 +[ "Hello GeneNetwork3!" ] + curl https://luna.genenetwork.org/gn3/ [ "Hello GeneNetwork3!" ] ``` -- cgit v1.2.3