Using Gitpod you can explore a Polylith implementation of Real World from the Clojure REPL, without downloading or installing anything at all.
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!
- A Github account.
- Curiosity
That's it.
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:
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! ❤️
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.
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:
- Upgrade to a paid Gitpod plan
- 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.)