apeman-proto-lemn
Prototype type project for LEMN (Linux, NGINX, MySQL & Node)
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-proto-lemn 
SYNC missed versions from official npm registry.

apeman-proto-lemn

Build Status Code Climate Code Coverage npm Version

Prototype type project for LEMN (Linux, NGINX, MySQL & Node)

Installation

$ npm install apeman-proto-lemn --save

Usage

'use strict'

module.exports = {
    $ctx: {
        /** Password for mysql root account */
        mysqlRootPassword: 'root',
        /** Name of domain of web apps */
        domainName: 'demo.example.com',
        /** Directory to deploy project on node container. */
        nodeMountDir: "/mnt/project",
        /** Directory to deploy project on nginx container. */
        nginxMountDir: "/mnt/project"
    },
    $pkg: {/* ... */},
    $proto: [
        // Inherit apeman-proto-lemn project.
        require('apeman-proto-lemn')
    ],
    $tmpls: {/* ... */},
    $tasks: {/* ... */}
}

Apemanfile Configurations

$pkg

Name Value
name apeman-proto-lemn
version 2.0.1
description Prototype type project for LEMN (Linux, NGINX, MySQL & Node)

$proto

$tmpls

Path Force Mode Tmpl Data
bin/mysql/.js.bud false '644' #!/usr/bin/env node /** * Bud file ... {"year":2016,"params":{"type":"bin-my...
bin/nginx/.js.bud false '644' #!/usr/bin/env node /** * Bud file ... {"year":2016,"params":{"type":"bin-ng...
bin/node/.js.bud false '644' #!/usr/bin/env node /** * Bud file ... {"year":2016,"params":{"type":"bin-no...
infr/mysql/Dockerfile false '644' # Dockerfile for mysql # # Generated ... {"params":{"type":"mysql"},"generator...
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 '755' #!/bin/bash # # Try to start nginx un... {"params":{"type":"start"},"generator...
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
lemn:chmod Change permissions for NGINX, MySQL, Node.js
lemn:mkdir Make directories for NGINX, MySQL, Node.js
lemn:render Render bud files for NGINX, MySQL, Node.js
mysql:chmod Child file permission with mysql.
mysql:mkdir Make directories with mysql.
mysql:render Render bud files.
nginx:chmod Child file permission with nginx.
nginx:crt Generate certifications.
nginx:mkdir Make directories with nginx.
nginx:render Render bud files.
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.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (17)

Copyright 2014 - 2017 © taobao.org |