To work with fuegokit components
-
Install a Java SE Development Kit (JDK). You’ll have an easier time if you use an older version: 8. OpenJDK or the official one is fine.
-
Install Clojure CLI Tools (Installing clojure would be sufficient)
-
Install Node and npm: The shadow-cljs compiler uses node for all js dependencies.
The following commands should work from your command line (the $ is the command prompt):
$ clj
Clojure 1.10.0
user=>
(hit CTRL-D or CTRL-C to exit)
$ java -version
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
by npm install
You can start shadow-cljs' server mode with:
$ npx shadow-cljs server
and then navigate to the URL it prints out for the server UI (usually http://localhost:9630). You can then use the "Builds" menu to turn on/off different client builds and see the progress live as it happens!
Build your app now by selecting "main" under the "Builds" menu and clicking "start watch".
We configured the shadow-cljs server to also start a development mode HTTP server to serve our HTML file and javascript. So, if you didn’t make any typos then your new app should display Sample get staarted page at http://localhost:8000.
Our fulcro wrapper version can be updated in deps.edn
mohamicorp/fulcro-atlaskit {:git/url "[email protected]:mohamicorp/fulcro-atlaskit"
:sha "<HERE>"}
Feel free to upgrade the version in the brach NH-157-adding-Fuegokit-components
You can update the version in fulcro-atlaskit/package.json and fulcro-atlaskit/src/deps.cljs