diff options
author | Pjotr Prins | 2022-12-15 07:30:05 -0600 |
---|---|---|
committer | Pjotr Prins | 2022-12-15 07:30:05 -0600 |
commit | f35e10744cf218b1402d8fb2a7414e4023cadf69 (patch) | |
tree | 631a618a5524dff74c8039da399e752b76202887 /topics/systems | |
parent | 8709189ba3a0e0704f0cd1df655bdc7d96866fe4 (diff) | |
download | gn-gemtext-f35e10744cf218b1402d8fb2a7414e4023cadf69.tar.gz |
Running GN3
Diffstat (limited to 'topics/systems')
-rw-r--r-- | topics/systems/gn-services.gmi | 13 |
1 files changed, 11 insertions, 2 deletions
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: ``` |