The Rabix Editor (codename Cottontail) is a graphical and code editor specially designed to work with the CommonWorkflowLanguage. It is currently in early development. This repo includes the code for running Cottontail locally in dev mode and for building OS specific binaries.
git clone https://github.com/rabix/cottontail-frontend
cd cottontail-frontend
npm install
cd electron
npm install
cp config/env.example.json config/env.json # only once, modify if needed
npm run start:electron
./scripts/electron-start.sh
npm run build:electron
./scripts/electron-build.sh
Local directories can be added to the cottontail workspace by clicking the plus icon next to Local Files, which will open the native file picker.
To remove a folder, right click on it and use the context menu. SevenBridges projects are added the same way once your account is connected.
.yaml
, .json
, .yml
, and .cwl
will be treated as potential CWL files. If they contain the key class
which is either CommandLineTool
or Workflow
, the file will be validated against the appropriate JSON schema. If the tool or workflow doesn't have a specified cwlVersion
, validation defaults to draft-2.
Cottontail can connect to your SevenBridges account, so you can edit your SB apps locally. In order to connect, open the settings page (by clicking the top right button) and enter your authentication token. Find out how to generate your token here.
If you are already logged in to SevenBridges, the "Seven Bridges Platform" link will take you directly to the developer page where your token lives.