Barista-Cli
The Barista command line utility makes it easy to start and install Barista services as well as to execute individual Barista scripts.
Use the barista --help
command for more detailed task information.
Installing
$ npm install -g barista-framework
*Note: For a global install of -g barista-framework
, OSX/Linux users may need to prefix the command with sudo
or can setup proper file permissions on OSX for npm to install without sudo
. *
Starting the Barista Service
$ barista start
Installing Barista as a system service
$ barista install [service name]
Uninstalling Barista as a system service
$ barista uninstall [service name]
Running an individual barista script
$ barista run [path]
Command-line flags/options:
[--port|-p] ............. Server HTTP port (8000 default)