Currently quite under construction.
Based on Aleph as server and Reitit for routing. Includes an example of a UI state machine to handle logging in. Uses fulcro-garden-css
to generate CSS.
- Get
Homebrew
- Install a JVM runtime, for example
brew tap AdoptOpenJDK/openjdk && brew cask install adoptopenjdk11
. brew install clojure
.brew install yarn
.
- Clone the repo and
cd
into the directory. yarn
(first time only)yarn prod
- Open a browser to
localhost:8080
- Clone the repo and
cd
into the directory. yarn
(first time only)yarn dev
- Connect nREPL to
5555
, or socket REPL to5556
. - If using a Chromium-based browser, get the
Fulcro Inspect
browser extension - Open a browser to
localhost:8080
Optional steps:
brew install jenv
if you want to run and test on multiple JDK versions and need an easy way to switch between them.- You can find additional information courtesy of shadow-cljs at
http://localhost:9630/inspect