node package manager

apeman

Meta application framework.

apeman

Meta application framework.

Installation


apeman is available as an npm package.

$ npm install apeman -g

Quick Start


Run apeman init command in your project root.

# Initialize a current directory as an apemanfile.
$ apeman init

This generates a file named Apemanfile.js , which contains configurations for an apeman project.

Then you can use various apeman commands at the directory.

Available Commands


Run an apeman app. This is a synonym of apeman-app.

# Start an app.
$ apeman-app my-awesome-app -p 3000               
 
# List available apps.
$ apeman-app                                      
 

For mor information, see README of apeman-app

Render bud files in the project. This is a synonym of apeman-bud.

# Render bud files in the current project.
$ apeman-bud                
 
# Render specific bud files.
$ apeman-tmpl "ci/.*.bud"    
 

For mor information, see README of apeman-bud

This is a synonym of apeman-crt.

# Generate self signed certification files.
$ apeman-crt myapp.example.com -s -o infr/nginx/certs
 

For mor information, see README of apeman-crt

This is a synonym of apeman-d.

# Start an app.
$ apeman-d start ./bin/app/ui-app.js               
 
# Start an app.
$ apeman-d stop ./bin/app/ui-app.js               
 

For mor information, see README of apeman-d

Generate project documentation. This is a synonym of apeman-doc.

# Generate apemanfile doc.
$ apeman-doc -o doc/apdoc.md               
 

For mor information, see README of apeman-doc

Deploy project on docker. This is a synonym of apeman-dply.

# Execute deploying defined in $dplys prop.
$ apeman-dply                
 
# List available deploy.
$ apeman-dply -l
 
# Open terminal for a deploy.
$ apeman-dply -t node
 
# Execute deploy which match pattern.
$ apeman-dply "node*"
 
# Remove all deploy defined in $infra prop.
$ apeman-dply -d
 

For mor information, see README of apeman-dply

Setup infra. This is a synonym of apeman-infr.

# Build all infra defined in $infrs prop.
$ apeman-infr
 
# List available infra.
$ apeman-infr -l
 
# Build infra which match pattern.
$ apeman-infr "node*"
 
# Remove all infra defined in $infrs prop.
$ apeman-infr -d
 

For mor information, see README of apeman-infr

Initialize a directory as an apeman project. This is a synonym of apeman-init.

For mor information, see README of apeman-init

Keep process running. This is a synonym of apeman-keep.

# Keep process running.
$ apeman-keep                
 

For mor information, see README of apeman-keep

Check project needs. This is a synonym of apeman-need.

# Check projects needs.
$ apeman-need                
 

For mor information, see README of apeman-need

Reverse proxy manager This is a synonym of apeman-prxy.

# Start proxy
$ apeman-prxy                
 
# Stop proxy
$ apeman-prxy -d             
 

For mor information, see README of apeman-prxy

Generate project scaffold. This is a synonym of apeman-scff.

For mor information, see README of apeman-scff

Encrypt/decrypt secret file. This is a synonym of apeman-scrt.

# Update secret file.
$ apeman-scrt                
 

For mor information, see README of apeman-scrt

Show apemanfile configuration. This is a synonym of apeman-show.

For mor information, see README of apeman-show

Search apeman modules. This is a synonym of apeman-srch.

# List all available packages.
$ apeman-srch                
 
# List all available task packages.
$ apeman-srch -t task         
 
# List all available task which match term "foo".
$ apeman-srch -t task "foo" 
 

For mor information, see README of apeman-srch

Run tasks. This is a synonym of apeman-task.

# Show all available tasks.
$ apeman-task                
 
# Run tasks.
$ apeman-task build test     
 

For mor information, see README of apeman-task

Render template files. This is a synonym of apeman-tmpl.

# Render all templates.
$ apeman-tmpl                
 
# Re-render all templates.
$ apeman-tmpl -f             
 
# Render specific templates.
$ apeman-tmpl "**/*.txt"    
 
# Show available templates.
$ apeman-tmpl -l             
 

For mor information, see README of apeman-tmpl

Show project inheritance in the tree. This is a synonym of apeman-tree.

# Show inheritance tree of current project.
$ apeman-tree                
 

For mor information, see README of apeman-tree

Update apeman global module. This is a synonym of apeman-upg.

# Update apeman global module.
$ apeman-upg                
 

For mor information, see README of apeman-upg

Watch files to trigger action. This is a synonym of apeman-wtch.

# Start all watches
$ apeman-watch                
 
# List available watches
$ apeman-watch -l             
 
# Start watching.
$ apeman-watch "scc*"    
 

For mor information, see README of apeman-wtch

This software is released under the MIT License.