Distrubution

To distrubte applications easily, you can create an application package of them.

HOW-TO

Requirements

First, we will need the following files

1. app.js - Just your application's code.

2. appMeta.xml - Your application's metadata.

Metadata

Since the application code is obvious, we just need to know how to do the metadata. Here is an example metaData from Katana IDE: appMeta.xml

  <?xml version="1.0" encoding="ISO-8859-1" ?> 
  <appMeta>
  <name>Katana IDE</name> 
  <author>Psychcf</author> 
  <email>will@psychdesigns.net</email> 
  <version>1.2</version> 
  <maturity>Stable</maturity> 
  <category>Development</category> 
  <installFile>app.js</installFile> 
  <filesRequired>false</filesRequired> 
  <installMessage>Katana IDE is being installed...</installMessage> 
  <installedMessage>...done</installedMessage> 
  </appMeta>

Creating the package

Now just ZIP the files, make sure the files are in the ROOT (/) directory, then rename it to .appPackage. You are ready to distrubute!

Installation

To install applications packaged in a appPackage format, you need to open Administration Panel, goto Apps and press Install app package.