1.0.0 • Published 7 years ago

serm v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Service manager

Install

npm install -g serm

Usage for developer

init                       # init a server
config | login             # config host, port and certfication to communicate with serm server
password                   # change password
publish                    # publish a service

Usage for sysadmin

serm initdeploy            # generate deploy.yml file
serm update                # update patch for current deploy.yml

Usage for serm admin

Deploy serm server

  1. Install nodejs
  2. Install mongodb
  3. Install serm
  4. (optional) Set up variable env
    export SERMPORT = 8080
    export SERMDBPORT = 27017
    export SERMDBHOST = 127.0.0.1
    export SERMDB = serm
  5. Start serm serm start

Manage serm server

serm start                # start server
serm adduser              # add new user
serm resetpw              # reset password for specific user