Guest

simono

By: a guest on Sep 21st, 2009  |  syntax: None  |  size: 0.42 KB  |  hits: 173  |  expires: Never
download  |  raw  |  embed  |  report abuse
This paste has a previous version, view the difference. Copied
  1.           in apps.properties add this to enable the app
  2.           (it's pointing to folder ~/helloworld we create later)
  3.  
  4. helloworld
  5. helloworld.mountpoint = /helloworld
  6. helloworld.repository.1 = ~/helloworld/
  7.  
  8.          then create the app by creating those folders:
  9.  
  10. ~/helloworld/Root/Root.actions.js:
  11.  
  12.  
  13.      and in the js file:
  14.  
  15. Root.prototype.main_action = function() {
  16.         res.writeln("hello world");
  17.         return;
  18. }