uxhubcli v1.0.0
percli - cli tool for peregrine cms
about peregrine-cms
peregrine-cms is an API first headless content management system with a beautiful head built with VueJS
For more information about this project go to https://www.peregrine-cms.com/
about percli
percli is a command line tool to accomplish general tasks that arise when
working
prerequisits
the following tools need to be installed and accessible for percli to be able to work
- Java 11
- NodeJS 14.16.0 (LTS)
install percli
npm install @peregrine-cms/percli -ginstall peregrine-cms
percli server installstart an already installed peregrine-cms instance
percli server startstop a running peregrine-cms instance
percli server stopcheck if a peregrine-cms instance is running
percli server statuslist installed instances
percli server listrunning multiple instances
multiple peregrine instances can be installed, started and stopped using the --name and --port parameters.
note: by default, an instance named sling will run on port 8080.
to install an instance called myinstance, run:
percli server install --name myinstance --port 8081to stop, start and check status of the instance, run:
percli server stop --name myinstance
percli server start --name myinstance
percli server status --name myinstanceadvanced install
you can define additional run modes during the server install. for example, if you want a classic author/publish deployment, run:
percli server install --name author --port 8081 --runmodes author,notshared
percli server install --name publish --port 8082 --runmodes publish,notsharedthe runmodes are saved in the server configuration file (~/.perclirc) and do not need to be specified after the initial install.
percli server start --name author
percli server start --name publish