Akyuu-bin
CLI tool for Akyuu.js.
Install
# npm install akyuu-bin
# or
# yarn add akyuu-bin
Feature
- Init project
- One step to start/stop Application (akyuu-bin start/stop)
- Check out application status (akyuu-bin status)
- And More...
Command
Init
Work in Progress
Start/Stop
- Add
cluster
config
{
cluster: {
// ... extends akyuu-cluster config
// mode: 'cluster' | 'fork', default: 'cluster'
mode: 'cluster',
// pid file, default: project-root/run/process.pid
pid: 'pid file',
// master log
log: {
info: 'info log path',
error: 'error log path'
}
}
}
- Add start/stop scripts
// package.json
{
...
scripts: {
"start": "akyuu-bin start",
"stop": "akyuu-bin stop"
}
...
}
- Type your script to start/stop