aboutsummaryrefslogtreecommitdiff
path: root/gn3-guile/README.md
diff options
context:
space:
mode:
authorPjotr Prins2023-07-08 05:53:01 -0500
committerPjotr Prins2023-07-08 05:53:01 -0500
commit5c6b90a4107b86b20fbf786e8f2725842a579ee2 (patch)
tree30599d07e836200f1fa315d268f2271677260df5 /gn3-guile/README.md
parent88c3cd78630ffa00737138398f9dd2e951925876 (diff)
downloadgenenetwork3-5c6b90a4107b86b20fbf786e8f2725842a579ee2.tar.gz
guile server: updated README to run interactive development with emacs-geiser
Diffstat (limited to 'gn3-guile/README.md')
-rw-r--r--gn3-guile/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/gn3-guile/README.md b/gn3-guile/README.md
index 36ed956..944296a 100644
--- a/gn3-guile/README.md
+++ b/gn3-guile/README.md
@@ -1,3 +1,15 @@
# GN3 Guile Webservice
This directory provides a Guile endpoint for the REST API. It is used in conjunction with the Python REST API and WIP.
+
+GNU Guile allows you to develop against a live running web server using emacs-geiser. To try this fire up the web server as
+
+```
+. .guix-shell -- guile --listen=1970 -e main ./webserver.scm 8091
+```
+
+Note the leading dot. The .guix-shell is defined in `genenetwork3/gn3-guile/web` and loads required packages using GNU Guix.
+
+Next fire up emacs with `emacs-geiser-guile` and connect to the running web server with `M-x geiser-connect` and the port 1970. Now you can not only inspect procedures, but also update any prodedure on the live server using `C-M-x` and get updated output from the webserver!
+
+