Closed timoteipalade closed 2 years ago
Any time you change the static path you have to clog:shutdown and then clog:initialize again. Otherwise if that path exists looks ok to me. Let me know if that works
It worked! 🚀 The path changed:
But I ran into another head scratcher. I copied the files under clog/static-files
to my static-files
folder.
It is complaining that it cannot load jQuery, which is really weird, since it exists. Tried clog:shutdown
and then initialize again. Also restarted inferior lisp. Here is what I see in the console:
Somehow only boot.js
gets loaded 🤔 :
By default if boot.js is missing it uses a compiled version. You can see if you have access to jQuery by typing http://127.0.0.1:8080/js/jquery.min.js
Btw you can do the following: (ql:quickload :clog/tools) (clog-tools:clog-new-app)
to use a template to setup a new project. You may find that easier.
Thanks!
I found the issue. Forward slash was missing at the end of my path:
OLD: #P"/Users/paladetimotei/Documents/Developer/Lisp/CandlesAndSticks/static-files
NEW: #P"/Users/paladetimotei/Documents/Developer/Lisp/CandlesAndSticks/static-files/
🤯 😆
Maybe we can add a message warning people not to forget that forward slash 🤔
Awsome :)
Hi! This project is really cool! You put a lot of love into it, and it shows at every step. 🥇
My issue is the following. I want to change the
static-root
path. Here is what I have tried so far, which does not work: