diff options
author | Pjotr Prins | 2021-10-18 11:24:48 +0200 |
---|---|---|
committer | Pjotr Prins | 2021-10-18 11:24:48 +0200 |
commit | 5804b4cd181176fb3bbbc29d9d741fd8befa84a3 (patch) | |
tree | 5fb2c42a1d12ad6fc16be25b4cf3a2c928dd19e2 | |
parent | a5bab0def8e3642611b08fdae81c97ce6e726b1a (diff) | |
download | gn-gemtext-5804b4cd181176fb3bbbc29d9d741fd8befa84a3.tar.gz |
bnw
-rw-r--r-- | topics/bnw/GN2-BNW-data-transfer.gmi | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/topics/bnw/GN2-BNW-data-transfer.gmi b/topics/bnw/GN2-BNW-data-transfer.gmi index 427d608..e4ef6d0 100644 --- a/topics/bnw/GN2-BNW-data-transfer.gmi +++ b/topics/bnw/GN2-BNW-data-transfer.gmi @@ -26,3 +26,36 @@ but is not accepted by the latest version of BNW. ## Notes Found the PHP file on Xeon. Sent to Jesse for comment. Made a backup on rabbit. + +### Run bnw test instance + +``` + # Launch php-fpm + guix environment --ad-hoc php -- php-fpm --fpm-config php-fpm.conf + + # Launch nginx + guix environment -L guix-past/modules -L guix-bioinformatics bnw --ad-hoc nginx -- nginx -p tmp/var/run/nginx - +c nginx.conf + + # To see the BNW website + # From your local machine: + ssh -L 8888:localhost:8888 -N penguin2 + # and then it should be visible in your webbrowser at localhost:8888 + # I believe any local changes should be reflected immediately. + # I believe any local changes should be reflected immediately. + + # stopping nginx + kill $(pgrep nginx -u jessez | head -n1) + + # stopping php-fpm + kill $(pgrep php-fpm -u jessez | head -n1) +``` + +When you have that running I can switch over the BNW website to yours, +so you can test run with GN. Do run BNW from GN you can: + +1. Search for 'shh' in http://genenetwork.org/ +2. checkbox the 3 results +3. hit the BNW button + + |