diff options
-rw-r--r-- | tasks/pjotrp.gmi | 1 | ||||
-rw-r--r-- | topics/systems/gn-services.gmi | 13 |
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: ``` |