-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get to "Introduction" from index.clj #14
Comments
Hey @khinsen ! The problem here is that in the version of Clerk I am using, the links don't work in local mode. To navigate, you have to either:
I think this is fixed in a later version of Clerk and I plan on upgrading to remove this confusing experience! Re: the scary output, I realized that I can make this better by pre-compiling a single JS bundle and setting the project to use that. That will save startup time and remove many dependencies like I'm excited for your comments. I've got more ease-of-use changes coming down the pipeline for defining animations, so that that experience feels more like declaring the plots in this essay. |
Thanks @sritchie, that works much better! I now get the right page, and it's mostly displayed correctly, with the exception of the first visualization: I appreciate your efforts on ease of use. That's the weak spot of the Clojure ecosystem, where every part comes with a detailed manual that supposes you are already familiar with much of the rest of the ecosystem. More abstractly, I find the tooling complexity a bit worrying from the scientist's perspective. All those messages in my terminal convey the overall message that there are tons of dependencies whose reliability and stability I cannot judge. Do I really want to rely on such a huge pile of unfamiliar code? Personally, I trust the Clojure community enough to keep this working, but I have been loosely in contact with it for many years. |
I've had the same issue and worked around it by typing http://localhost:7777/essays/reality/introduction.md into the address bar, which might help some folks for a one click fix. @sritchie - I was wondering about the relative merits of providing a docker container for the runtime and mounting the code as a volume so you can keep your edits on your local disk. Might get closer to managing deps with more stability and providing a one command startup experience. I had some issues (which I managed to overcome) because I already had Babashka but it was out of date. |
Following your instructions, I end up typing "bb clerk-watch", which (after five minutes, tons of downloads, and a couple of medium-scary warnings and error messages) opens a browser tab showing the rendered version of
index.clj
. So far - great!But when I click on "Introduction", the URL changes to
localhost:7777/essays/reality/introduction
, but the contents are again those ofindex.clj
. I can repeat this game and add ever more instances ofessays/reality/
in the URL, but I never get the rendered introduction. But there are no more error message in the shell, once the browser tab is opened.For completeness, here is the full output of
bb clerk-watch
:The text was updated successfully, but these errors were encountered: