Fission
Dependencies
- sbt
- Node.js
- PhantomJS (to run tests)
- The ws package for node.js. Run
npm install ws
from the project root directory to install it.
The version of node.js that comes with Ubuntu 16.04 is not compatible with Fission. You can install a more recent version of node.js by following these instructions.
Configuration
The file jvm/src/main/resources/reference.conf has default settings for Fission. If you need to use different settings, you can specify them on the command line. For example:
sbt -Dfission.nodejs-path=nodejs
In addition to the settings above, you can configure verbosity of logging by entering:
sbt -Dorg.slf4j.simpleLogger.defaultLogLevel=info # the default
or
sbt -Dorg.slf4j.simpleLogger.defaultLogLevel=debug
This settings affects the verbosity of logging in the Fission server, the node.js backend, and the Web browser.
Testing
You can run the unit tests by running:
sbt test