A minimal node.js + express webapp written in ClojureScript and ready for deployment on Cloud Foundry
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
hello.cljs
package.json

README.md

ClojureScript on Cloud Foundry

By combining https://gist.github.com/1171737 with the instructions provided by the Cloud Foundry Community, writing a node.js + express webapp ready for deployment on Cloud Foundry with ClojureScript is pretty straight forward.

Compile, package and deploy

Follow these steps:

  1. Package with npm install
  2. Compile with cljsc hello.cljs "{:target :nodejs}" > hello.js
  3. Deploy with vmc push [appname] (you'll have to select application type Node manually)
  4. Browse to [appname].cloudfoundry.com