Installing SciPipe means first installing the Go programming langauge, and then
go get command to install the SciPipe library. After this, you will
be able to use Go's
go run command to run SciPipe workflows.
Install Go by following the instructions on this page, for your operating system.
Then install SciPipe by running the following shell command:
go get github.com/scipipe/scipipe/...
N.B: Don't miss the
..., as otherwise the
scipipe helper tool will not be installed.
Initialize a new workflow file
Now, you should be able to write code like in the example below, in files ending with
The easiest way to get started is to let the scipipe tool generate a starting point for you:
scipipe new myfirstworkflow.go
... which you can then edit to your liking.
Run your workflow
To run a
.go file, use
go run myfirstworkflow.go
Some tips about editors
In order to be productive with SciPipe, you will also need a Go editor or IDE with support for auto-completion, sometimes also called "intellisense".
We can warmly recommend to use one of these editors, sorted by level of endorsement:
- Visual Studio Code with the Go plugin - If you want a very powerful almost IDE-like editor
- Fatih's awesome vim-go plugin - if you are a Vim power-user
- LiteIDE - if you want a really simple, standalone Go-editor