hjiang / leanengine-cljs

Server-side ClojureScript on LeanEngine (LeanCloud).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leanengine-cljs

This is a minimal project to demonstrate how to run server-side ClojureScript on LeanEngine

Setup

  • 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
    

About

Server-side ClojureScript on LeanEngine (LeanCloud).


Languages

Language:Clojure 100.0%