diff options
author | Frederick Muriuki Muriithi | 2021-10-19 07:33:24 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-10-19 07:33:24 +0300 |
commit | 6fc4f7658d9aebb6ffd27fad8f7c7b9420f5d11b (patch) | |
tree | 113a5081c4cedc8a8deeb26cc79560a3390ef7a8 /topics | |
parent | b41a940c5ef8cadc4317b58849166dd3a7718958 (diff) | |
parent | aa89f63f991d5bfec52cf8de183eca9df42b6079 (diff) | |
download | gn-gemtext-6fc4f7658d9aebb6ffd27fad8f7c7b9420f5d11b.tar.gz |
Merge branch 'main' of github.com:genenetwork/gn-gemtext-threads
Diffstat (limited to 'topics')
-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 + + |