clojure -Sdeps '{:deps {com.github.markbastian/keg-party
{:git/url "https://github.com/markbastian/keg-party"
:sha "61acf0a731df04fc55af564ce939cffbe544e255"}}}' \
-X keg-party.main/run
Yep, that's it!
Similar to the above, but with the dependency added to a deps.edn
file (e.g. ~/.clojure/deps.edn
).
- Create an alias (e.g.
:keg-party
) in your deps file. clj -X:keg-party keg-party.main/run
Here's how you might add this alias to your ~/.clojure/deps.edn
file:
{:aliases
;; Note: You may have many other aliases in this section already.
;; Jus add the `:keg-party` entry.
{:keg-party
{:extra-deps
{'com.github.markbastian/keg-party
{:git/url "https://github.com/markbastian/keg-party"
:sha "61acf0a731df04fc55af564ce939cffbe544e255"}}}}}
git clone https://github.com/markbastian/keg-party.git
cd keg-party
clj -X keg-party.main/run
git clone https://github.com/markbastian/keg-party.git
cd keg-party
- Build the jar with
clj -T:build server-uberjar
- Run the jar with
java -jar target/keg-party-${LATEST_VERSION}-standalone.jar