https://github.com/maxandersen/getting-started-with-java-the-jbang-way
https://github.com/maxandersen/getting-started-with-java-the-jbang-way
presentation
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxandersen/getting-started-with-java-the-jbang-way
- Owner: maxandersen
- Created: 2022-04-28T22:28:23.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-25T11:33:29.000Z (over 1 year ago)
- Last Synced: 2025-10-09T12:32:01.464Z (8 months ago)
- Topics: presentation
- Language: Java
- Homepage: https://maxandersen.github.io/getting-started-with-java-the-jbang-way/
- Size: 15.9 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.adoc
Awesome Lists containing this project
README
# Getting Started with Java: The JBang Way
A (work-in-progress) presentation made for https://docs.microsoft.com/en-us/events/learntv/jdconf-2022/[JDConf 2022].
The presentation is done using asciidoctor + reveal.js and the whole thing is wired up with a link:src/docs/adoc2reveal.java[JBang script] uses Github Actions to publish to
The advantage is that you need zero installation and setup for this. No Java, Maven, Ruby, Gems etc. setup. All done and in isolated and in a reproducible manner.
You can run `./render` and it will setup jbang and run the script or if you already have https://jbang.dev/download[jbang installed] you can do:
[source,bash]
----
jbang adoc2reveal.java --watch
----
This will get you a `index.html` generated anytime a `.adoc` file changes.
You can open it directly from the filesystem, but works best when served from a server.
You can run `jbang httpd@jbangdev` to serve the `index.html` file,
or use something like vscode live reload plugin to open the index.html
and get live-reload when it re-renders.