This is the public repository for Bombay Crushed, a new UI for Liquid Feedback that was developed by Saftige Kumquat. It is no longer maintained.
server.js
starts a server listening on port 8080 serving Bombay Crushed.
config.default.json
contains default configuration values for server.js
. Override values by setting them in a new file called config.json
. You can configure
- the url and port of the Liquid Feedback API
- the url (prefix), port and host, where the service should be hosted
- the URL of the Liquid Feedback UI to get the API Key from
ejscli.js
allows testing templates on the command line.
apicli.js
contains code that, when executed via node.js, connects to the Liquid Feedback API Test Server and pulls some information.
- Node.js
- npm modules:
- EJS (Vulnerabilities reported for currently used EJS version; not tested for higher EJS versions)
- cookies
- canvas
Canvas requires Cairo to be installed. See here for more information about canvas.
In case you get an error Cannot find module '../build/default/canvas', follow these steps to resolve it:
- npm install node-gyp -g
- change to the canvas module directory
- node-gyp configure
- node-gyp build