summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2022-12-15 07:30:05 -0600
committerPjotr Prins2022-12-15 07:30:05 -0600
commitf35e10744cf218b1402d8fb2a7414e4023cadf69 (patch)
tree631a618a5524dff74c8039da399e752b76202887
parent8709189ba3a0e0704f0cd1df655bdc7d96866fe4 (diff)
downloadgn-gemtext-f35e10744cf218b1402d8fb2a7414e4023cadf69.tar.gz
Running GN3
-rw-r--r--tasks/pjotrp.gmi1
-rw-r--r--topics/systems/gn-services.gmi13
2 files changed, 12 insertions, 2 deletions
diff --git a/tasks/pjotrp.gmi b/tasks/pjotrp.gmi
index dd3ac21..c2877c6 100644
--- a/tasks/pjotrp.gmi
+++ b/tasks/pjotrp.gmi
@@ -28,6 +28,7 @@ Now
=> https://github.com/genenetwork/gn-docs/blob/master/features/introduction.md
+* [ ] Check backups of etc etc.
* [ ] GeneNetwork consortium
* [+] Machine room HDDs
* [ ] Byron epigenetics paper
diff --git a/topics/systems/gn-services.gmi b/topics/systems/gn-services.gmi
index 8217676..4215f68 100644
--- a/topics/systems/gn-services.gmi
+++ b/topics/systems/gn-services.gmi
@@ -60,11 +60,16 @@ curl https://luna.genenetwork.org/gn3/
[ "Hello GeneNetwork3!" ]
```
-3. genenetwork3 (python3)
+## genenetwork3 (python3)
If the menu does not load, this is the culprit. It should be an external API link.
-Test iwth
+
+```
+gn3@tux02:~/production/genenetwork3$ env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ ~/opt/guix-gn3/bin/guix shell -C -D --network --expose=/home/gn2/production/genotype_files/ -f guix.scm -- gunicorn --bind 0.0.0.0:8087 --workers 8 --keep-alive 6000 --max-requests 10 --max-requests-jitter 5 --timeout 1200 wsgi:app
+```
+
+Test with
```
curl localhost:8087/api/version
@@ -75,8 +80,12 @@ curl https://genenetwork.org/api3/api/version
"1.0"
curl https://genenetwork.org/api3/api/menu/generate/json
tomato
+curl -L https://luna.genenetwork.org/api3/version
+"1.0"
```
+note the menu is more recent GN3.
+
On epysode:
```