Application Manager 程序管理器 项目简介
Application Manager,程序管理器,可以用来替代supervisor和cron-tab,用来管理计算机上部署的各种类型的程序,支持定视任务,长任务,提供命令行和REST接口。Setup build environment on Ubuntuapt-get install g++ git make zlib1g-dev libssl-dev cmake
apt-get install libboost-all-dev libcpprest-dev libjsoncpp-dev libace-dev libgoogle-glog-dev libcctz-devREST APIsMethodURIGET/app/$app-nameGET/app-manager/applicationsGET/app-manager/configPUT/app/$app-namePOST/app/$app-name?action=startPOST/app/$app-name?action=stopDELETE/app/$app-nameShow all sub command$ appc
Commands:
view List application[s]
config Display configurations
start Start a application
stop Stop a application
reg Add a new application
unreg Remove an application
Run 'appc COMMAND --help' for more information on a command.
Usage: appc [COMMAND] [ARG...] [flags]
apt-get install libboost-all-dev libcpprest-dev libjsoncpp-dev libace-dev libgoogle-glog-dev libcctz-devREST APIsMethodURIGET/app/$app-nameGET/app-manager/applicationsGET/app-manager/configPUT/app/$app-namePOST/app/$app-name?action=startPOST/app/$app-name?action=stopDELETE/app/$app-nameShow all sub command$ appc
Commands:
view List application[s]
config Display configurations
start Start a application
stop Stop a application
reg Add a new application
unreg Remove an application
Run 'appc COMMAND --help' for more information on a command.
Usage: appc [COMMAND] [ARG...] [flags]