Node.js With ClojureScript Tutorial
- Run
npm install
from project root directory - Grab Leiningen 2.x from github
- From command line, run lein. This will download leiningen jar to .lein/self-installs.
- Go to .lein and create a profiles.clj file with the following content: {:user {:plugins [[lein-cljsbuild "0.2.10"]]}}
- Run
lein cljsbuild auto
to monitor changes tosrc/cljs_node/core.cljs
The output will be main.js
. You can run this with node. E.g. node main.js