diff options
| -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" |
