forked from cloudius-systems/osv
-
Notifications
You must be signed in to change notification settings - Fork 0
Porting Clojure applications to OSv
tzach edited this page Nov 8, 2014
·
2 revisions
Porting of Clojure application to OSv is very similar to Porting Java applications to OSv. Assuming you already have an image with a JDK, you need to
-
Create a Jar including Clojure, your application and any other dependency. The easiest way to do the is using
lein uberjar
-
Upload the Jar and any other require files to OSv. This can be does on:
Second method is both easier and more efficient, making the application ready-to-go as the VM boot.
Examples of Clojure application on OSv:
- Hello World
- Riemann, more on the Riemann port here