summaryrefslogtreecommitdiff
path: root/topics
diff options
context:
space:
mode:
authorPjotr Prins2022-12-23 12:38:13 +0100
committerPjotr Prins2022-12-23 12:38:33 +0100
commit8ad38808688a6cefa5d88e66cef80caa5f780232 (patch)
tree6ea7af035ae79defd0be970ea2836b290e70e67f /topics
parent86f889f2c2c2bcf9971563c3767d7b5354b805c5 (diff)
downloadgn-gemtext-8ad38808688a6cefa5d88e66cef80caa5f780232.tar.gz
Instructions for GN1
Diffstat (limited to 'topics')
-rw-r--r--topics/starting_gn1.gmi8
-rw-r--r--topics/systems/gn-services.gmi6
2 files changed, 14 insertions, 0 deletions
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!" ]
```