Build

You need git, Node.js (see node-version in build.yml) and Yarn 1.

$ git clone https://github.com/FACT-Finder/snage.git
$ cd snage
$ yarn install --frozen-lockfile
$ yarn lerna run build

The build creates packages/snage/build/npm/snage.js, which includes the web UI. Run it with Node.js:

$ node packages/snage/build/npm/snage.js help
snage <command>
...

Tip

The build doesn't delete old files. Run rm -rf packages/snage/build packages/ui/build before it to get a clean build.