Skip to content

Latest commit

 

History

History
44 lines (24 loc) · 2.46 KB

File metadata and controls

44 lines (24 loc) · 2.46 KB

Hack on Real World Polylith in your Browser

Using Gitpod you can explore a Polylith implementation of Real World from the Clojure REPL, without downloading or installing anything at all.

Gitpod-Polylith-RealWorld-example

Don't click on this link just yet: https://gitpod.io/#https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app

The link will take you to a full blown VS Code running in your browser. The VS Code instance will have Clojure development support (through Calva). The first time you use it, it may be quite a long wait. But then (after some little more waiting) you will be in the editor, connected to the REPL of the Polylith Real World server!

Prerequisites

  • A Github account.
  • Curiosity

That's it.

From here to the Polylith REPL

When you click the link you will first need to sign in to Gitpod using your Github account, then create the workspace, then wait, then wait a bit again. Then you will have the REPL under your fingertips. The process looks like so:

Three click workflow of using the Gitpodified link to the repo, siging up/in to Gitpod, creating a workspace, and BOOM, a REPL into the running RealWorld Polylith example

The Clojure file that opens will have further instructions and suggestions for what you can try at the REPL. There's also a file src/hello_repl.clj available for anyone unfamiliar with Calva and/or Clojure to start with.

Now you can click that link above. 😄 (That said, see below about considering forking first.)

Happy coding! ❤️

Fork first?

If you just click the link above, things will work, but you will not be able to immediately push your work to your own repo. If you find that you want to do that, use your git skills to retarget the local (albeit Gitpod hosted) repo to a repo of your own.

It could be a good idea to fork this repo first, of course.

Gitpod Free hours are limited

You may find it so fun to play with Polylith in the REPL that you run out of Gitpod hours. Then it is time to either:

  1. Upgrade to a paid Gitpod plan
  2. Run this repository locally
    • Check the readme of this repository for instructions of how to run this example locally. (It is just a few steps more than running this on Gitpod.)