-
-
Notifications
You must be signed in to change notification settings - Fork 22
Setup project locally
This tutorial shows how to download, setup and start the ModernJava project locally on your machine.
Alternatively, you can also work directly in the cloud, for free, and get started in just a few seconds. See:
Executable binaries are available for download on the GitHub Releases page. Download the binary for your platform (Windows, macOS, or Linux) and extract the archive. The archive contains an mdbook
executable which you can run to build your books.
To make it easier to run, put the path to the binary into your PATH
.
Go to the full guide to find other ways of downloading mdbook
.
To download the project, use the following command:
git clone https://github.com/Together-Java/ModernJava.git
You now have the project and all its data locally.
Go into the downloaded directory
cd ModernJava
Then run this command to get the book hosted on localhost
mdbook serve --open
The book should be up and running now.
Go to http://localhost:3000/ to access it.