2.0.1 • Published 9 years ago

apeman-proto-nginx v2.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

apeman-proto-nginx

Build Status Code Climate Code Coverage npm Version

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

NameValue
nameapeman-proto-nginx
version2.0.1
descriptionProtoytpe for project with nginx

$proto

$tmpls

PathForceModeTmplData
bin/nginx/.js.budfalse'644'#!/usr/bin/env node /** * Bud file ...{"year":2016,"params":{"type":"bin-ng...
infr/nginx/Dockerfilefalse'644'# Dockerfile for nginx # # Generated ...{"params":{"type":"nginx"},"generator...
infr/nginx/nginx.conffalse'644'# Nginx configuration file # # Genera...{"params":{"type":"nginx"},"generator...
infr/nginx/sites/.site.budfalse'644'#!/usr/bin/env node /** * Bud file ...{"year":2016,"params":{"type":"nginx-...
infr/nginx/start_nginx.shfalse'644'#!/bin/bash # # Try to start nginx un...{"params":{"type":"start"},"generator...

$tasks

NameDescription
nginx:chmodChild file permission with nginx.
nginx:crtGenerate certifications.
nginx:mkdirMake directories with nginx.
nginx:renderRender bud files.

$needs

BinHow to install
apemannpm install -g apeman

License

This software is released under the MIT License.

Links