hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
2020-03-19T19:17:24.252200Z

Anyone ever manage to get hoplon self hosted/bootstrapped?

dave 2020-03-19T19:41:30.252400Z

do you mean not reliant upon boot?

dave 2020-03-19T19:41:50.252800Z

i'm actually working on migrating a hoplon app from boot => tools.deps and having some success so far

flyboarder 2020-03-19T19:42:16.253300Z

I think he means running within a bootstrapped cljs environment

flyboarder 2020-03-19T19:42:24.253600Z

and no I havent yet attempted that

flyboarder 2020-03-19T19:42:44.254100Z

I would like to, because that could open up a direction for GUI hoplon editors that produce cljs code

1👍
2020-03-19T19:54:18.254500Z

Yes exactly

2020-03-19T19:56:17.255400Z

(to the bootstrapped cljs environment)

dave 2020-03-19T20:02:54.255600Z

ah, very interesting!

dave 2020-03-19T20:03:10.255900Z

i think cache busting would need to be adjusted, if you need that

dave 2020-03-19T20:03:27.256400Z

currently it relies on a hoplon.cacheKey java property, which it generates itself (a random UUID) if it's missing

flyboarder 2020-03-19T20:03:53.257Z

@jjttjj I recommend compiling with shadow and using their bootstrapped support

flyboarder 2020-03-19T20:04:42.257600Z

shadow is a really well built compiler, we have all our apps running on it now

2020-03-19T20:05:32.257900Z

Yup! I've been using shadow

2020-03-19T20:05:40.258200Z

actually I think I might have just realized what I was doing wrong

2020-03-19T20:06:07.258800Z

forgot to shadow watch the bootstrap build in addition to my app :man-facepalming:

flyboarder 2020-03-19T20:06:49.259300Z

if you get it all working can you send me your shadow config for the bootstrapped project

2020-03-19T20:06:58.259500Z

will do!

2020-03-19T20:07:15.260100Z

i think it's gonna take forks of javelin hoplon as well

flyboarder 2020-03-19T20:07:35.260900Z

building a hoplon editor is something I really want to put some time into

2020-03-19T20:07:38.261100Z

i had the javelin fork working, and then coudn't get hoplon working for the life of me

2020-03-19T20:08:01.262300Z

but then i realized it's because i wasn't rebuilding the bootstrap stuff

2020-03-19T20:08:06.262500Z

yeah that's kinda what I'm going for too