This is a minimal project to demonstrate how to run server-side ClojureScript on LeanEngine
-
Install the Clojure build tool Leiningen.
-
Create an app on LeanCloud
-
Install the JS dependencies:
npm install
-
Build the project:
lein cljsbuild once
-
Link the project with the LeanCloud app you just created:
lean app add <name> <appId>
-
You can then test the app locally:
lean up
-
Or deploy it to LeanCloud:
lean deploy