diff options
author | Pjotr Prins | 2023-08-06 10:19:32 +0200 |
---|---|---|
committer | Pjotr Prins | 2023-08-06 10:19:32 +0200 |
commit | 3395ec582bb6f0a3c9f79f264789c77986dd9878 (patch) | |
tree | 9daea3e59bded4b946488a1ba6be9443c743cf99 /README.md | |
download | gn-guile-3395ec582bb6f0a3c9f79f264789c77986dd9878.tar.gz |
Init new project for GN on guile.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..3a9b167 --- /dev/null +++ b/README.md @@ -0,0 +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! + + |