In this section we are going to make our local system ready to install and develop the demo projects.
If Node.js, NPM, and Java v8 (JRE SE) (On Windows, the JDK is required) are already installed on your computer, you can jump directly to the installing Magnolia CLI.
There is no Java Programming required to develop applications with Magnolia.
However, Magnolia itself does require a Java Environment (JRE). Type
java -version in a terminal or command prompt. If the system reports a version number, Java is installed on your computer.
$ java -version java version "1.8.0_231" Java(TM) SE Runtime Environment (build 1.8.0_231-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Magnolia releases run on the active Java version at the time of the first release.
*Supported by Magnolia 6.2.9+.
If you don’t have Java, or it is not a compatible version, install it on your system.
The easiest way to install Java on your Mac is using Homebrew.
First update homebrew
Then install java.
brew install homebrew/cask/java
java -versionto verify your installation.
|Alternatively you can Download^ the latest Java from Oracle Website.|
Follow the instructions on the Installing Magnolia to install Java on Windows.
You can follow the directions at https://openjdk.java.net/install/.
java -version to verify your installation.
node -v and
npm -v in a terminal or command prompt. If the system reports a version number, Node.js and npm are installed on your computer.
$ node -v v12.13.0
$ npm -v 6.13.7
|If Node.js and/or npm is not installed you can follow these instructions.|