Preparing a development environment
To develop and deploy Cloudflow applications, you will need Java, the
sbt build tool, the Cloudflow CLI, and a Kubernetes-based platform. This page describes how to prepare for development, a later page covers the Kubernetes requirements.
Using one of the links below, download the Cloudflow CLI version appropriate for your platform and install it on your local system. Please make sure you have the executable in your path with proper permission settings. For Linux or MacOS, put the executables in
usr/local/bin with permission settings of
|If you have a Lightbend subscription, please use the instructions in the Enterprise Features documentation to install Cloudflow instead of the steps on this page.|
On MacOS Catalina and later, the default behavior is to not allow unsigned executables downloaded from the internet. It is planned to sign the executable with an Apple developer certificate to fix this but in the mean time there is a very simple workaround. After downloading and unpacking the executable, please execute the following command to remove the "downloaded from the internet" filesystem flag that blocks the file from being executed:
xattr -d com.apple.quarantine [path to]/kubectl-cloudflow
More details can be found in the associated issue.
Let’s get an overview of the Wind Turbine example.