Gitpod workspace for instant Dapr explorations – AMIS, Data Driven Blog

0 0

Read Time:1 Minute, 30 Second

I have prepared a Gitpod wokspace definition that allows me to start a fresh development environment with the latest release of Dapr (dapr.io) installed as well as supporting containers that provide state store (Redis, MySQL) and Pub/Sub (Redis) capabilities. This environment is a perfect starting point for trying out Dapr, running Dapr tutorials and combining Dapr with different technologies. You can start it with a single button click in the GitHub repository or by navigating to this Gitpod url.

The Gitpod workspace is illustrated below: on top of the Gitpod base image – that provides among other things Ubuntu, VS Code, Node and Docker – the workspace comes with Dapr CLI and running containers with MySQL, Redis, Zipkin and Dapr proper.image

Once the workspace opens and starts – which may take up 25 to 50 seconds the first time you start yours – it will look like shown below. The README document is open in the editor – with instructions and descriptions and a suggestion for trying out Dapr and adding MySQL as a statestore.

image

Resources

Dapr Gitpod workspace repository: https://github.com/lucasjellema/gitpod-dapr

Direct link to opening your own Dapr Gitpod Worksapce: https://gitpod.io/#https://github.com/lucasjellema/gitpod-dapr

Dapr home page: https://dapr.io/

This environment has Dapr installed – both the Dapr CLI based on [these instructions https://docs.dapr.io/getting-started/install-dapr-cli/ and also the Dapr Sidecar binaries (as locally running Docker Containers for Dapr, Redis and Zipkin) – according to [the instructions provided here https://docs.dapr.io/getting-started/install-dapr-selfhost/.

Also: follow the instructions in this document – Getting Started with the Dapr API – https://docs.dapr.io/getting-started/get-started-api/ . Subsequently – or even before that – feel free to get going with the Quickstarts https://docs.dapr.io/getting-started/quickstarts/

About Post Author

Lucas Jellema

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director and Oracle Developer Champion. Solution architect and developer on diverse areas including SQL, JavaScript, Kubernetes & Docker, Machine Learning, Java, SOA and microservices, events in various shapes and forms and many other things. Author of the Oracle Press book Oracle SOA Suite 12c Handbook. Frequent presenter on user groups and community events and conferences such as JavaOne, Oracle Code, CodeOne, NLJUG JFall and Oracle OpenWorld.

Happy

Happy

0 %

Sad

Sad

0 %

Excited

Excited

0 %

Sleepy

Sleepy

0 %

Angry

Angry

0 %

Surprise

Surprise

0 %

Post Author: BackSpin Chief Editor

We are the editorial staff at BackSpin Records. We love music, technology, and other interesting things!