Get Started¶
It’s easy to get started running CloudSlang flows, especially using the CLI and ready-made content.
Download, Unzip and Run¶
- Download the CLI zip file.
- Unzip the archive.
- Run the CloudSlang executable.
- At the prompt enter:
run --f ../content/io/cloudslang/base/print/print_text.sl --i text=Hi
- The CLI will run the ready-made
print_textoperation that will print the value passed to the variabletextto the screen.
Docker¶
- docker pull cloudslang/cloudslang
- docker run -it cloudslang/cloudslang
- At the prompt enter:
run --f ../content/io/cloudslang/base/print/print_text.sl --i text=Hi
Or, to run the flow without the prompt:
docker run --rm -ti cloudslang run --f ../content/io/cloudslang/base/print/print_text.sl --i text=first_flow
- The CLI will run the ready-made
print_textoperation that will print the value passed to the variabletextto the screen.
Next Steps¶
Now that you’ve run your first CloudSlang file, you might want to:
- Learn how to write a print operation yourself using the Hello World example.
- Learn about the language features using the New Hire Tutorial.
- Learn about the language in detail using the CloudSlang Reference.
- See an overview of the ready-made content.
- Browse the ready-made content repository.
- Learn about embedding CloudSlang or the CloudSlang Orchestration Engine into your existing application.
- Learn about the architecture of CloudSlang and the CloudSlang Orchestration Engine.