hns / ride

Ringo in-browser code editing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ride - a Ringo in-browser code editor

Ride is a Ringo webapp extension that allows editing of the webapp in the browser.

Ride uses CodeMirror as editor. You need to fetch CodeMirror using git-submodule:

git submodule init
git submodule update

To enable Ride in a web application, add ride/ide to the list of extensions exported in your config.js module:

exports.extensions = [
    "ride/ide"
];

After restarting your web application, you should be able to access Ride at /_ride_/ in your webapp.

Note that giving someone access to Ride gives them full access to your machine. Think twice before installing Ride on a publicly accessible server, and definitely use some sort of protection (Ride comes preconfigured with basicauth middleware, you only have to define an auth role in your main app's config module).

About

Ringo in-browser code editing


Languages

Language:JavaScript 100.0%