Skip to content

matebordas/cottontail-frontend

 
 

Repository files navigation

Cottontail (Rabix Editor)

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.

Installation

git clone https://github.com/rabix/cottontail-frontend
cd cottontail-frontend
npm install

cd electron
npm install

Starting the dev environment

cp config/env.example.json config/env.json # only once, modify if needed
npm run start:electron
./scripts/electron-start.sh

Packaging the build as a desktop app for the host system and architecture

npm run build:electron
./scripts/electron-build.sh

Setup

Adding local folders

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.

Adding Local Folders

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.

Removing Local Folders

.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.

Connecting with SevenBridges

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 69.7%
  • JavaScript 19.5%
  • CSS 10.5%
  • Other 0.3%