radiatus
Node web server for freedom.js apps
Last updated 5 years ago by ryscheng .
Apache2 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install radiatus 
SYNC missed versions from official npm registry.

Radiatus

Radiatus is a web server for applications written on top of freedom.js, built using node.js, express, and freedom-for-node.

Installation

Install globally on your PATH using the node.js package manager, npm.

$ npm install -g radiatus

Run

Once installed, radiatus can be used to serve any properly declared freedom.js application.

$ radiatus [freedom.js manifest] -d

Develop

See below for more information on how to write freedom.js applications.

Debug

Start up a node-inspector server on a specified port. The following commands allow you to access the developer console at http://127.0.0.1:8000/debug?port=5858

$ npm install -g node-inspector
$ node-inspector --web-port=8000

Then run your Radiatus application in debug mode. The following command will setup the V8 debug port to be 5858 for the web server. Each subsequent process / freedom.js module will open up debug ports on monotonically increasing port numbers from this.

$ node /usr/local/lib/node_modules/radiatus/app.js --debug=5858 [freedom.js manifest] -d

Radiatus will spawn 1 process for the web server and 1 process for each (user, freedom.js module) tuple. For example if 2 users are logged in and your freedom.js application consists of 3 modules, then there will be 7 node.js processes, with debug ports listening on [5858-5864]

More information

License

Apache License, Version 2.0

Current Tags

  • 0.1.10                                ...           latest (5 years ago)

11 Versions

  • 0.1.10                                ...           5 years ago
  • 0.1.9                                ...           5 years ago
  • 0.1.8                                ...           5 years ago
  • 0.1.7                                ...           5 years ago
  • 0.1.6                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.4                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (30)
Dev Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |