lein uberjar ;# create an uberjar lein test ;# run the unit tests
nohup java -jar apparatus*standalone.jar & ;# background node (autostarts) nohup java -jar apparatus*standalone.jar & ;# background node (autostarts) lein repl ;# interactive node
(use '[apparatus config cluster]) (instance (config))
(-> (eval-any '(+ 1 1)) (.get))
(-> (get-map "helloworld") (.put "mah" "bukkit")) (-> (get-map "helloworld") (.get "mah"))
(-> (eval-on '(do (use 'apparatus.cluster) ;# remote work definition (-> (get-map "helloworld") (.get "mah") (str " was found!"))) "mah") ;# node that owns "mah" (.get) (println))
(defproject myproject "1.2.3" :dependencies [[apparatus "1.0.0-SNAPSHOT"]])