Porting Clojure applications to OSv - nyh/osv GitHub Wiki
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