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.
Follow these steps:
- Package with
npm install
- Compile with
cljsc hello.cljs "{:target :nodejs}" > hello.js
- Deploy with
vmc push [appname]
(you'll have to select application type Node manually) - Browse to [appname].cloudfoundry.com