CeSI(CetralizedSupervisorIterface)
CeSIisawebiterfaceformaagigmultiplesupervisorsfromthesameplace.
SupervisorhasitsowwebUIbutmaagigmultiplesupervisoristallatiosishardwithseperateUIs(IfyouareusigtheUIofcourse:).CeSIaimstosolvethisproblembycreatigacetralizedwebUI,basedotheRPCiterfaceofSupervisor.
IstallatioMethodsChefCookbookPackagemaagersDocker(uavailable)MauelIstructiosMauelIstructiosIstallDepedeciesForCesiApi
$#OUbutu[18.04,16.04,14.04]$sudoaptistall-ygitpytho3pytho3-pippytho3-vev$#OCetos7$sudoyumistall-ygitepel-release$sudoyumistall-ypytho34pytho34-pippytho34-vev$#OFedora28$sudodfistall-ygitpytho3pytho3-pippytho3-vevIstallCesi
$exportCESI_SETUP_PATH=~/cesi$mkdir${CESI_SETUP_PATH}$cd${CESI_SETUP_PATH}$#Dowloadtheprojectto~/cesidirectory$wgethttps://github.com/gamegos/cesi/releases/dowload/v2.7.1/cesi-exteded.tar.gz-Ocesi.tar.gz$tar-xvfcesi.tar.gz$#Createvirtualevirometadistallrequiremetpackages$pytho3-mvevvev$sourcevev/bi/activate(vev)$pip3istall-rrequiremets.txt$#Ruwithcommadlie(vev)$pytho3${CESI_SETUP_PATH}/cesi/ru.py--cofig-file${CESI_SETUP_PATH}/defaults/cesi.cof.tomlIstallCesiasaservice
$#IfyouwattochageCESI_SETUP_PATH,youmustchagethecofiguratiosithecesi.servicefile.$exportCESI_SETUP_PATH=/opt/cesi$mkdir${CESI_SETUP_PATH}$cd${CESI_SETUP_PATH}$#DowloadtheprojecttoCESI_SETUP_PATHdirectory$wgethttps://github.com/gamegos/cesi/releases/dowload/v2.7.1/cesi-exteded.tar.gz-Ocesi.tar.gz$tar-xvfcesi.tar.gz$#Createvirtualevirometadistallrequiremetpackages$pytho3-mvevvev$sourcevev/bi/activate(vev)$pip3istall-rrequiremets.txt(vev)$deactivate#Deactivatevirtualeviromet$#Buildui(Firstyoumustistalldepedeciesforui->yar)-Optioal$cd${CESI_SETUP_PATH}/cesi/ui$yaristall$yarbuild$#Createcesi.cof.tomlfileadupdatecesi.cof.tomlforyoureviromet.$#Cofigfiledocumetatiocabefoudisidedefaultfile.$#(Youmustcreatecesi.cofitheetcdirectoryforcesi.service)$sudocp${CESI_SETUP_PATH}/defaults/cesi.cof.toml/etc/cesi.cof.toml$#Ruasaservice$sudocp${CESI_SETUP_PATH}/defaults/cesi.service/etc/systemd/system/cesi.service$sudosystemctldaemo-reload$sudosystemctlstartcesiRuigCesiwithuWSGI
YoumaywattoruCesiusiguWSGI(orayotherWSGIdeamo).Cofigureyoursystemithesimiliarwaytoruigasaserviceaduseuwsgitostartapp.Checkdefaults/cesi-uwsgi.iifordetails.
WhileruigwithuWSGICesicofighostadportareigored.
FirstLogiPleasechagepasswordafterfirstlogi!
Userame:admiPassword:admiTODOFixuserrelatedapiedpoitsFixodelogviewRefactortheusageofcofigRewritedockerfileadpublishimageodockerhubudergamegosImproveDocsDootuseexteraladressesforjavascriptadcsslibrariesUsealoggiglibBetterformatforactivitylogs(tabbeddate,level,compoet,message)AutorefreshpageOptiotoselectdifferettemplatesUpgradeflaskAddtestsCIitegratio






评论