Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/puniverse/capsule-avatar-demo
https://github.com/puniverse/capsule-avatar-demo
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/puniverse/capsule-avatar-demo
- Owner: puniverse
- Created: 2014-05-05T15:58:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-10T12:17:13.000Z (about 9 years ago)
- Last Synced: 2024-04-16T07:14:42.890Z (7 months ago)
- Language: JavaScript
- Size: 266 KB
- Stars: 4
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)