CeSIisawebinterfaceformanagingmultiplesupervisorsfromthesameplace.
SupervisorhasitsownwebUIbutmanagingmultiplesupervisorinstallationsishardwithseperateUIs(IfyouareusingtheUIofcourse:).CeSIaimstosolvethisproblembycreatingacentralizedwebUI,basedontheRPCinterfaceofSupervisor.
InstallationMethodsChefCookbookPackagemanagersDocker(unavailable)ManuelInstructionsManuelInstructionsInstallDependenciesForCesiApi
$#OnUbuntu[18.04,16.04,14.04]$sudoaptinstall-ygitpython3python3-pippython3-venv$#OnCentos7$sudoyuminstall-ygitepel-release$sudoyuminstall-ypython34python34-pippython34-venv$#OnFedora28$sudodnfinstall-ygitpython3python3-pippython3-venvInstallCesi
$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.tomlInstallCesiasaservice
$#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$sudosystemctlstartcesiRunningCesiwithuWSGI
YoumaywanttorunCesiusinguWSGI(oranyotherWSGIdeamon).Configureyoursysteminthesimiliarwaytorunningasaserviceanduseuwsgitostartapp.Checkdefaults/cesi-uwsgi.inifordetails.
WhilerunningwithuWSGICesiconfighostandportareignored.
FirstLoginPleasechangepasswordafterfirstlogin!
Username:adminPassword:adminTODOFixuserrelatedapiendpointsFixnodelogviewRefactortheusageofconfigRewritedockerfileandpublishimageondockerhubundergamegosImproveDocsDonotuseexternaladressesforjavascriptandcsslibrariesUsealogginglibBetterformatforactivitylogs(tabbeddate,level,component,message)AutorefreshpageOptiontoselectdifferenttemplatesUpgradeflaskAddtestsCIintegration
评论