2.0.1 • Published 9 years ago
apeman-proto-spawn v2.0.1
apeman-proto-spawn
Prototype for spawning apps.
Installation
$ npm install apeman-proto-spawn --save
Usage
/** This is an example Apemanfile.js */
'use strict'
module.exports = {
$ctx: {
spawnRoutes: {
'/api/my-plugin': {
cmd: 'node',
cmdArgs: '_my_cmd_script_path',
proxy: { host: 'localhost', port: 3000 }
}
}
},
$pkg: { /* ... */ },
$proto: [
// Inherit apeman-proto-spawn project.
require('apeman-proto-spawn')
],
$tmpls: { /* ... */ },
$tasks: { /* ... */ }
}
Apemanfile Configurations
$pkg
Name | Value |
---|---|
name | apeman-proto-spawn |
version | 2.0.1 |
description | Prototype for spawning apps. |
$proto
$apps
Name | Description |
---|---|
spawn:handle | {} |
$needs
Bin | How to install |
---|---|
apeman | npm install -g apeman |
License
This software is released under the MIT License.