Re: [racket-users] Web Server Tutorial Tries to Write to Library Directory

2020-12-22 Thread Sam Tobin-Hochstadt
I believe this is a bug in `web-server/insta`, but here's a workaround: Add the following to the beginning of the `app` module: (require racket/runtime-path) (define-runtime-path here ".") Then use `here` instead of `(current-directory)` in the `start` function. Sam On Tue, Dec 22, 2020 at

[racket-users] Web Server Tutorial Tries to Write to Library Directory

2020-12-22 Thread Adam Golding
I'm a little confused by this tutorial--when I run the 'persistent model' in section 14 it tries to write a file to the read-only directory the web-server library itself is in... https://docs.racket-lang.org/continue/ but grabbing the current directory before it loads the web server doesn't