Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/puniverse/capsule-avatar-demo


https://github.com/puniverse/capsule-avatar-demo

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# Avatar-Node.js Capsule Demo

A simple demo of using [Capsule](https://github.com/puniverse/capsule) to package an [Avatar](https://avatar.java.net/) Node.js application.

There are two build files. `build.gradle` creates a capsule that downloads dependencies at runtime, while `build1.gradle` creates a capsule with embedded dependencies.

To build:

./gradlew capsule

To run:

java -jar build/lib/hello-nodejs.jar

This demo application is based on [this blog post](http://blog.jonasbandi.net/2014/03/running-nodejs-applications-on-jvm-with.html) by Jonas Bandi.

## License

Released to the [public domain](http://creativecommons.org/publicdomain/zero/1.0/)