Deployment Options
The easiest ways to deploy Ringo web applications are via Google App Engine or using the ringojs-daemon package on Debian or Ubuntu systems. Note that Google App Engine does not currently support all Ringo APIs, especially asynchronous APIs or those relying on threads.
Debian/Ubuntu
To deploy Ringo on Debian or Ubuntu, install both the ringojs
and ringojs-daemon
Debian packages. The daemon package installs a start script that can be configured in /etc/default/ringojs
.
Deploying on your own system will allow you to use the full Ringo API, including asynchronous and thread-based features.
Google App Engine
Google App Engine requires some special directory layout for applications to be deployed. You can find detailed instructions on the Google App Engine page.
Java Servlet
To deploy a Ringo application in a servlet container, use ringo-admin
to create the application structure:
ringo-admin create -w myapp
The resulting directory can be deployed as a servlet on most common Java web containers.
Other Options
Download the OpenShift example from GitHub and deploy your Ringo application to the cloud: OpenShift Template. To deploy Ringo on Heroku, follow the directions included with the Heroku RingoJS Buildpack.