diff options
| author | Pjotr Prins | 2025-11-03 03:21:19 -0600 |
|---|---|---|
| committer | Pjotr Prins | 2025-11-03 03:21:19 -0600 |
| commit | 955f0f8a484b097518d22bc09ac115b43430d495 (patch) | |
| tree | 0a4e8ee073815afd5b33a81b8d8b506197ca9552 | |
| parent | 72bf3c2e056bce0820934fd3f94eeb1b297deb16 (diff) | |
| download | gn-guile-955f0f8a484b097518d22bc09ac115b43430d495.tar.gz | |
Add note on guix-shell
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | web/.guix-shell | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md index 79b00bd..ae236ad 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,12 @@ If you get an error `no code for module (gn packages guile)` add the appropriate We recommend checking the Guix documentation for manifests, channels and guix.scm definitions. +To run a standalone server you may try + +``` +. .guix-shell -- guile -L .. --fresh-auto-compile -e main ./webserver.scm 8091 +``` + ## Welcome to the world of interactive Lisp programming 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` on code, call and get updated output from the webserver! No need to save/reload files and all that. diff --git a/web/.guix-shell b/web/.guix-shell index 96be090..5688db2 100644 --- a/web/.guix-shell +++ b/web/.guix-shell @@ -3,7 +3,7 @@ # run with options '-- ./webserver.scm 8091' e.g. # . .guix-shell -- guile -L .. --fresh-auto-compile --listen=1970 -e main ./webserver.scm 8091 # -# Note this script is used by Pjotr(!) +# Note this script is used by Pjotr(!). Don't remove it. echo "Note run: running web-server" |
