/cljs-node

Example restify server using ClojureScript

Primary LanguageClojure

Node.js With ClojureScript Tutorial

  1. Run npm install from project root directory
  2. Grab Leiningen 2.x from github
  3. From command line, run lein. This will download leiningen jar to .lein/self-installs.
  4. Go to .lein and create a profiles.clj file with the following content: {:user {:plugins [[lein-cljsbuild "0.2.10"]]}}
  5. Run lein cljsbuild auto to monitor changes to src/cljs_node/core.cljs

The output will be main.js. You can run this with node. E.g. node main.js