This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-04-17
Channels
- # announcements (4)
- # aws (17)
- # beginners (108)
- # calva (2)
- # clojure (164)
- # clojure-austin (1)
- # clojure-europe (3)
- # clojure-italy (1)
- # clojure-nl (17)
- # clojure-uk (98)
- # clojurescript (31)
- # code-reviews (1)
- # cursive (23)
- # data-science (1)
- # dirac (6)
- # emacs (21)
- # figwheel-main (1)
- # fulcro (53)
- # graphql (2)
- # hoplon (1)
- # lein-figwheel (1)
- # leiningen (2)
- # lumo (21)
- # off-topic (118)
- # onyx (4)
- # pathom (59)
- # pedestal (2)
- # planck (3)
- # reagent (47)
- # reitit (2)
- # shadow-cljs (258)
- # spacemacs (3)
- # sql (10)
- # tools-deps (37)
When installing in Linux, I don’t want to download curl -O
every time if it’s already present and at the correct version.
OK, I’m having trouble running the Clojure CLI tools in Elastic Beanstalk, and the AWS support this time isn’t very helpful.
In my logs, I see this error: mkdir: cannot create directory '/.clojure': Permission denied
Which indicates to me that something is trying create a .clojure
directory at the root of the filesystem, which is weird.
It seems so — it’s a mess because Elastic Beanstalk is just duct tape under the hood.
Got it, they were setting HOME=/tmp
whereas the user actually running the clojure
command didn’t have permissions there.
there's a ticket about working in read-only fs btw
option_settings:
- option_name: CLJ_CONFIG
value: /home/webapp/.clojure
commands:
01_install_clojure:
command: |
curl -O
chmod +x linux-install-1.10.0.442.sh
sudo ./linux-install-1.10.0.442.sh
currently, clj does need some writable path to work as it always drives at least the cp through the cached cp file
Posted a quick guide to https://clojureverse.org/t/running-a-clojure-application-on-aws-elastic-beanstalk-with-clojure-cli-tools/4161
is there an equivalent of lein's :init-ns
config, where you specify which namespace to load and switch into by default when starting a repl?
Any ideas why I'd hit this? I'm running on a CI that has permission to git clone via HTTPS.
Error building classpath. ...: Authentication is required but no CredentialsProvider has been registered
Shoot. Looking at tools.gitlibs, it seems like it may not support cloning private repos via HTTPS 😞
I suppose I could try using the shell-git branch here: https://github.com/ghadishayban/tools.gitlibs/tree/shell-git.
you can override it if you just hack your clojure
script :)
just prepend the source dir to tools_cp