biff

A web framework + self-hosted deployment solution for Clojure. Repo: https://github.com/jacobobryant/biff. Docs: https://biff.findka.com
2020-05-25T18:09:13.009200Z

@foo Thanks for making Biff. I am very excited about this project. I've been using Firebase for simple persistence, from a pure cljs app using Hoplon for years. And have been looking forward to using full stack Clojure (as well as graph db logic programming stuff) for a LONG time, but was stuck trying to figure out which stack, and why, and if I would get stuck in too much incidental complexity. So your project and blog posts came as a blessing. And I doubly appreciate your efforts to document it. I think i need your help getting the example to run though. I am on windows and have clojure and shadow-cljs installed and successfully use them with other projects. I'm assuming Overmind is not absolutely required. When I run the clj -m biff.core I am getting this error. "Execution error (FileNotFoundException) at <http://java.io|java.io>.FileInputStream/open0 (FileInputStream.java:-2).\r\nC:\\Users\\admin\\dev\\biff\\example\\resources\\www\\hello.biffjs\\ensure-signed-in.js (The system cannot find the path specified)\r\n", It seems a forward slash is missing inbetween hello.biff and js folders. I am using git.bash, and have tried cloning the repo with typlical windows settings, and with lf line endings.

2020-05-25T18:27:40.011100Z

Glad to hear! yeah, overmind isn't required. Sorry about that bug--I've found the source and I'll push a fix in a few minutes

2020-05-25T19:00:52.013200Z

@chromalchemy I just pushed the fix (https://github.com/jacobobryant/biff/commit/6c4f94049b02a7920a251d9d693467dd63f30ce4), let me know if that does/doesn't work. I've tested it on Linux but I don't currently have a Windows env set up for testing unfortunately. I took a quick look at some other path handling code in Biff and I don't think there'll be any other problems. But of course let me know if you run into anything.

2020-05-25T19:55:01.015600Z

@foo Thanks, that fix resolved the error, and now I got to "system started"!!! The Shadow-cljs command compiled successfully. I was trying out WSL shell a bit. That system is more pure linux, but I don't know it well.

2020-05-25T21:40:03.016Z

Awesome!