clerk

Nik 2023-09-14T05:39:17.566379Z

Hey, any idea how to run https://github.com/nextjournal/clerk-cljs-demo. I'm using vscode and used jack-in and selected shadow-cljs then viewer build but it didn't open any browser window. P.S. - I'm new to clojure(script)

mkvlr 2023-09-14T05:49:38.024759Z

the thing should run at http://localhost:7788

Nik 2023-09-14T06:38:15.678899Z

@mkvlr Tried it after I saw (clerk/serve! {:port 7788 :browse? true}). I got

This site can't be reachedlocalhost refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Nik 2023-09-14T06:38:45.451669Z

The repl window says no js runtime found after trying few times

mkvlr 2023-09-14T06:42:36.938149Z

do you have the dev alias active when jacking in?

mkvlr 2023-09-14T06:43:51.044029Z

can try just via clj -M:dev:shadow (untested)

Nik 2023-09-14T06:51:36.680229Z

let me try

Nik 2023-09-14T06:55:04.082769Z

well atleast it is up now. I found the created project's readme has notes what to do (I got confused since the template I used to create didn't had any info). Hopefully it will work now. Thanks!

2023-09-14T15:22:16.416119Z

you need to jack in with deps.edn + shadowcljs

Nik 2023-09-14T15:24:47.292059Z

Oh okay

2023-09-14T15:25:40.343039Z

πŸ‘πŸΌ 1
2023-09-14T15:26:01.888879Z

and then pick :dev

Nik 2023-09-15T01:20:10.620889Z

@danielmartincraig I could see the :dev option but got this error https://pastebin.com/Yp4wF5Gp P.S. - I ran npm install

2023-09-15T03:03:41.281699Z

Hmm I haven’t seen that before

πŸ˜„ 1
seb231 2023-09-14T15:02:11.763969Z

Hello, we've (Mastodon C) have been using Clerk for a little while now and it's really changed the way we deliver work to clients; would it be okay if I posted a user experience report here as I'd also be interested to hear about how others are using it day to day?

πŸ’― 9
πŸ‘€ 4
grounded_sage 2023-09-14T19:06:42.998869Z

I'm sure we would all love to see how it's being used @seb231 πŸ™

mkvlr 2023-09-14T19:30:48.660099Z

@seb231 yes please!

βž• 1