https://github.com/baristalabs/barista-server
Serves barista, fiddle, scriptbox
https://github.com/baristalabs/barista-server
Last synced: about 18 hours ago
JSON representation
Serves barista, fiddle, scriptbox
- Host: GitHub
- URL: https://github.com/baristalabs/barista-server
- Owner: BaristaLabs
- Created: 2016-02-17T18:58:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-20T17:49:16.000Z (over 9 years ago)
- Last Synced: 2025-09-21T07:25:37.567Z (24 days ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# barista-server
Provides a headless, express based host for Barista, Barista Fiddle and Barista ScriptBox
If you have NodeJS installed, simply install and start the server with
```
$ npm install barista-server -g
$ barista-server
Barista listening at http://:::8000
```then, simply point a browser to http://localhost:8000/fiddle
To uninstall:
```
$ npm uninstall barista-server -g
```No NodeJS? See [this](https://nodejs.org/en/download/package-manager/)
Can be used in conjunction with [strongloop](http://strong-pm.io/) or [PM2](http://pm2.keymetrics.io/) to provide production process management:
#### [strongloop](http://strong-pm.io/)
TODO...
#### [PM2](http://pm2.keymetrics.io/)
```
$ npm install pm2 -g # Install PM2
$ pm2 start barista-server # Start, Daemonize and auto restart barista
```to stop:
```
$ pm2 stop barista-server
$ pm2 delete barista-server
```