$ sdk install jbake
You can also install JBake via SDKMAN (Software Development Kit Manager - formerly known as GVM) if you are running a Bash based platform (Mac OSX, Unix, Linux, Cygwin or Solaris etc.). SDKMAN will take care of downloading the latest distribution, installing it and configuring your environment for you.
After you have SDKMAN installed enter the following command to install the latest version of JBake:
$ sdk install jbake
Once complete you can then get baking!
You can also install JBake via Homebrew if you are running OS X. After you have installed Homebrew enter the following command to install the latest version of JBake:
$ brew install jbake
Once complete you can then get baking!
An official Docker image is available if you would prefer to run JBake in a Docker container. To execute a bake using the Docker image run the following command from your project folder:
$ docker run --rm -u jbake -v "$PWD":/mnt/site jbake/jbake:latest
This command will execute using the jbake user to avoid running as root and will mount the current working directory as /mnt/site in the Docker container where JBake is expecting your project files to be. By default the Docker image will execute a bake (-b) only. If you want to bake and serve your project using the Docker image then you’ll need to override the default command:
$ docker run --rm -u jbake -v "$PWD":/mnt/site -p 8820:8820 jbake/jbake:latest -b -s
This command will also expose port 8820 from the container, however you will also need to set the default hostname in your jbake.properties file.
JBake artifacts are available from the Maven central repository:
<dependency>
<groupId>org.jbake</groupId>
<artifactId>jbake-core</artifactId>
<version>${jbakeVersion}</version>
</dependency>
Note
|
When using the core library make sure you declare the optional dependencies you require. |
Version | SHA1 | Download Link | Release Notes |
---|---|---|---|
v2.6.6 |
42240ddf03111fa74cd8be6198b917bdac23a462 |
GitHub 71.6MB |
|
v2.6.5 |
c7eadd00afc768383a7b1482fdefa3cba180cdf1 |
GitHub 69.32MB |
|
v2.6.4 |
df6926721202e036f84079b830859d176a2c1a32 |
GitHub 53.34MB |
|
v2.6.3 |
4f661742db1bb82d24ee370d387e8c77f2d2d57d |
GitHub 52.8MB |
|
v2.6.2 |
4244352c489813a4cf6e342a44d49a0e3c515811 |
GitHub 52.72MB |
|
v2.6.1 |
ba29c2fbf4090042fc8ffb16165255680621cb32 |
GitHub 53.3MB |
|
v2.6.0 |
7bfc0760d826b608793b6d4e90db4dd5198bc37d |
GitHub 69MB |
|
v2.5.1 |
91c00c4eb94a25ca11b6f72792e8ed02707f57bc |
GitHub 40MB |
|
v2.5.0 |
e563aa423f362237c268d20dd67b00fa0e9c6719 |
GitHub 40MB |
|
v2.4.0 |
e53633c6cd6ba714a8876cadc02fe41e7790c5db |
GitHub 39.1MB |
|
v2.3.2 |
8daa2603b0277ee92ba216cf1d7e2d706f489382 |
GitHub 65.3MB |
|
v2.3.1 |
b429a89a66c021a70394e0207d71a703de58d85b |
GitHub 42.4MB |
|
v2.3.0 |
ea4c676ca59a9dcdc84727410ab01c88c21ec917 |
GitHub 41.6MB |
|
v2.2.1 |
0e225ab850cb98b7451082f818e991c1cfb7defb |
GitHub 27.5MB |
|
v2.2.0 |
fe8d557a562ef9da2b9fea092ac7b5ab524a69db |
GitHub 27.1MB |