serm
v1.0.0
Published
Service manager
Downloads
5
Readme
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
- Install nodejs
- Install mongodb
- Install serm
- (optional) Set up variable env
export SERMPORT = 8080 export SERMDBPORT = 27017 export SERMDBHOST = 127.0.0.1 export SERMDB = serm
- Start serm
serm start
Manage serm server
serm start # start server
serm adduser # add new user
serm resetpw # reset password for specific user