This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-30
Channels
- # beginners (32)
- # boot (15)
- # cljs-dev (200)
- # cljsjs (1)
- # cljsrn (18)
- # clojure (4)
- # clojure-austin (2)
- # clojure-spec (6)
- # clojure-uk (8)
- # clojurescript (69)
- # cloverage (1)
- # cursive (12)
- # datomic (1)
- # dirac (37)
- # emacs (1)
- # hoplon (38)
- # off-topic (3)
- # om (19)
- # om-next (1)
- # onyx (4)
- # parinfer (2)
- # perun (27)
- # protorepl (4)
- # re-frame (5)
- # rum (9)
- # spacemacs (8)
- # untangled (2)
I’m looking to get back into messing around with CLJS again. I am working on a development server with CLJS being built. If I have the following:
index.html (contains <script src=“app.js”></script>)
app.js
app.out/
users/index.html (contains <script src=“../app.js”></script>, or alternatively <script src=“/app.js”></script>)
When I open localhost/index.html
app.js
loads as expected. However, when I try to open localhost/users/index.html
the script fails to load as the base path is different and everything falls apart. What do I need to do to remedy this?i have a dumb question
how do i make something in a private github repo a dependency of my project?
i have to put src/clj/ in there to be able to start up the server to be able to run the e2e tests
then clojure.test come around and tries to compile all sources in the path and then doesn't find the garden dep
@hlship awesome article, I actually prefer scripting via boot, it's awesome!
@thedavidmeister you need to build jars and push them to a (private) maven repository
you could use a CI service (circleCI, or roll your own)
then you also need a place to host the jars; you can put them on s3 or on a maven repo saas
there was a service that automatically builds github repo -> private maven repo, but I can't find it
personally I just build uberjars and upload them to s3, then get those files from s3, no private repo necessary
but that only works if everything is in a single repo