2.0.1 • Published 9 years ago
apeman-proto-nginx

Protoytpe for project with nginx
Installation
$ npm install apeman-proto-nginx --save
Usage
'use strict'
module.exports = {
$ctx: {
/** Directory to deploy project on nginx container. */
nginxMountDir: "/mnt/project",
/** Domain name of the project. */
domainName: 'hoge.example.com'
},
$pkg: { /* ... */ },
$proto: [
// Inherit apeman-proto-nginx project.
require('apeman-proto-nginx')
],
$tmpls: { /* ... */ },
$tasks: { /* ... */ }
}
Apemanfile Configurations
$pkg
Name | Value |
---|
name | apeman-proto-nginx |
version | 2.0.1 |
description | Protoytpe for project with nginx |
$proto
$tmpls
Path | Force | Mode | Tmpl | Data |
---|
bin/nginx/.js.bud | false | '644' | #!/usr/bin/env node /** * Bud file ... | {"year":2016,"params":{"type":"bin-ng... |
infr/nginx/Dockerfile | false | '644' | # Dockerfile for nginx # # Generated ... | {"params":{"type":"nginx"},"generator... |
infr/nginx/nginx.conf | false | '644' | # Nginx configuration file # # Genera... | {"params":{"type":"nginx"},"generator... |
infr/nginx/sites/.site.bud | false | '644' | #!/usr/bin/env node /** * Bud file ... | {"year":2016,"params":{"type":"nginx-... |
infr/nginx/start_nginx.sh | false | '644' | #!/bin/bash # # Try to start nginx un... | {"params":{"type":"start"},"generator... |
$tasks
Name | Description |
---|
nginx:chmod | Child file permission with nginx. |
nginx:crt | Generate certifications. |
nginx:mkdir | Make directories with nginx. |
nginx:render | Render bud files. |
$needs
Bin | How to install |
---|
apeman | npm install -g apeman |
License
This software is released under the MIT License.
Links