Difficulty: beginner
Estimated Time: 5 - 15 minutes

Project Flogo provides two different command-line interfaces and which you need depends on the task you need to execute.

  • flogo: This CLI gives you the ability to build flows and microservices. With this tool you can, among other things, create your applications, build applications and install new extensions. This tool is great to use with Continuous Integration and Continuous Deployment tools like Jenkins and Travis-CI.
  • flogogen: If you’re looking to extend the functionality that Project Flogo offers out of the box, this is the tool you want to use. Flogogen generates the scafolding used by extensions (activity/trigger) developers to build new extensions.

In this tutorial you will learn how to use the first of the two CLI tools

Help

If you have any questions, feel free to post an issue on GitHub and tag it as a question, email [email protected] or chat with the team and community:

  • The project-flogo/Lobby Gitter channel should be used for general discussions, start here for all things Flogo!
  • The project-flogo/developers Gitter channel should be used for developer/contributor focused conversations.

Woohoo! You've just mastered the basics of Project Flogo CLI. That does feel good right?

Next steps

In this tutorial we've taken you through setting up the Flogo CLI and using it to create your first microservice. With this there are tons of options available to you.

For more tutorials and information, check out our docs

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Getting started with the Flogo CLI

Step 1 of 4

Go get Flogo

We've just started you off with a brand new environment that just has Go installed. The grey blocks you'll see through this tutorial mean they are terminal commands which will be executed when you click on them. Alternatively, you can also type them in the terminal yourself.

Get the CLI

You'll need to go get the Flogo cli to work with Project Flogo. To do so simply run go get -u github.com/TIBCOSoftware/flogo-cli/...

Go dep

In order to simplify dependency management, we’re using the go dep tool. The easiest way to get this in your environment is to download the latest binary for your machine. You can do that on this environment by running curl -Lo /gopath/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 && chmod +x /gopath/bin/dep