匿名用户2021年12月10日
25阅读
开发技术Python
所属分类Web应用开发、Web框架
授权协议GPL-3.0 License

作品详情

CeSI(CentralizedSupervisorInterface)

CeSIisawebinterfaceformanagingmultiplesupervisorsfromthesameplace.

SupervisorhasitsownwebUIbutmanagingmultiplesupervisorinstallationsishardwithseperateUIs(IfyouareusingtheUIofcourse:).CeSIaimstosolvethisproblembycreatingacentralizedwebUI,basedontheRPCinterfaceofSupervisor.

InstallationMethodsChefCookbookPackagemanagersDocker(unavailable)ManuelInstructionsManuelInstructions

InstallDependenciesForCesiApi

$#OnUbuntu[18.04,16.04,14.04]$sudoaptinstall-ygitpython3python3-pippython3-venv$#OnCentos7$sudoyuminstall-ygitepel-release$sudoyuminstall-ypython34python34-pippython34-venv$#OnFedora28$sudodnfinstall-ygitpython3python3-pippython3-venv

InstallCesi

$exportCESI_SETUP_PATH=~/cesi$mkdir${CESI_SETUP_PATH}$cd${CESI_SETUP_PATH}$#Downloadtheprojectto~/cesidirectory$wgethttps://github.com/gamegos/cesi/releases/download/v2.7.1/cesi-extended.tar.gz-Ocesi.tar.gz$tar-xvfcesi.tar.gz$#Createvirtualenvironmentandinstallrequirementpackages$python3-mvenvvenv$sourcevenv/bin/activate(venv)$pip3install-rrequirements.txt$#Runwithcommandline(venv)$python3${CESI_SETUP_PATH}/cesi/run.py--config-file${CESI_SETUP_PATH}/defaults/cesi.conf.toml

InstallCesiasaservice

$#IfyouwanttochangeCESI_SETUP_PATH,youmustchangetheconfigurationsinthecesi.servicefile.$exportCESI_SETUP_PATH=/opt/cesi$mkdir${CESI_SETUP_PATH}$cd${CESI_SETUP_PATH}$#DownloadtheprojecttoCESI_SETUP_PATHdirectory$wgethttps://github.com/gamegos/cesi/releases/download/v2.7.1/cesi-extended.tar.gz-Ocesi.tar.gz$tar-xvfcesi.tar.gz$#Createvirtualenvironmentandinstallrequirementpackages$python3-mvenvvenv$sourcevenv/bin/activate(venv)$pip3install-rrequirements.txt(venv)$deactivate#Deactivatevirtualenvironment$#Buildui(Firstyoumustinstalldependenciesforui->yarn)-Optional$cd${CESI_SETUP_PATH}/cesi/ui$yarninstall$yarnbuild$#Createcesi.conf.tomlfileandupdatecesi.conf.tomlforyourenvironment.$#Configfiledocumentationcanbefoundinsidedefaultfile.$#(Youmustcreatecesi.confintheetcdirectoryforcesi.service)$sudocp${CESI_SETUP_PATH}/defaults/cesi.conf.toml/etc/cesi.conf.toml$#Runasaservice$sudocp${CESI_SETUP_PATH}/defaults/cesi.service/etc/systemd/system/cesi.service$sudosystemctldaemon-reload$sudosystemctlstartcesi

RunningCesiwithuWSGI

YoumaywanttorunCesiusinguWSGI(oranyotherWSGIdeamon).Configureyoursysteminthesimiliarwaytorunningasaserviceanduseuwsgitostartapp.Checkdefaults/cesi-uwsgi.inifordetails.

WhilerunningwithuWSGICesiconfighostandportareignored.

FirstLogin

Pleasechangepasswordafterfirstlogin!

Username:adminPassword:adminTODOFixuserrelatedapiendpointsFixnodelogviewRefactortheusageofconfigRewritedockerfileandpublishimageondockerhubundergamegosImproveDocsDonotuseexternaladressesforjavascriptandcsslibrariesUsealogginglibBetterformatforactivitylogs(tabbeddate,level,component,message)AutorefreshpageOptiontoselectdifferenttemplatesUpgradeflaskAddtestsCIintegration
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论