apeman-proto-node
v2.0.1
Published
Prototype for projects with node deploy
Downloads
11
Readme
apeman-proto-node
Prototype for projects with node deploy
Installation
$ npm install apeman-proto-node --save
Usage
/** This is an example Apemanfile.js */
'use strict'
module.exports = {
$ctx: {
/** Directory to deploy project on node container. */
nodeMountDir: '/mnt/project'
},
$pkg: { /* ... */ },
$proto: [
// Inherit apeman-proto-node project.
require('apeman-proto-node')
],
$tmpls: { /* ... */ },
$tasks: { /* ... */ }
}
Apemanfile Configurations
$pkg
| Name | Value | | --- | ---- | | name | apeman-proto-node | | version | 2.0.1 | | description | Prototype for projects with node deploy |
$proto
$tmpls
| Path | Force | Mode | Tmpl | Data |
| ---- | ---- | ---- | --- | --- |
| bin/node/.js.bud | false | '644' | #!/usr/bin/env node /** * Bud file ...
| {"year":2016,"params":{"type":"bin-no... |
| infr/node/.package.json.bud | false | '644' | #!/usr/bin/env node /** * Bud file ...
| {"year":2016,"params":{"type":"node-c... |
| infr/node/Dockerfile | false | '644' | # Dockerfile for node.js # # Generate...
| {"params":{"type":"node"},"generator"... |
$tasks
| Name | Description | | ---- | --- | | node:chmod | Child file permission with node. | | node:mkdir | Make directories with node. | | node:render | Render bud files. |
$needs
| Bin | How to install |
| --- | ----- |
| apeman | npm install -g apeman
|
License
This software is released under the MIT License.