Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
The installation of the bundle with Magnolia CLI is done using the jumpstart
command. This command downloads, unpacks and pre-configures a magnolia-community-demo-bundle
containing Magnolia Community Edition bundled with the Travel Demo and a Tomcat server. It creates folders for the Tomcat server and for the light modules according to the Configuration. By default, the command downloads the latest released version of the magnolia-community-demo-bundle.
Change to the directory to where you want to install the Magnolia bundle. For example:
cd /Users/<username>/dev/
Execute the Magnolia CLI jumpstart
command:
mgnl jumpstart
The jumpstart
command automatically creates a light-modules
directory for you in the current folder. If you already have a different directory that you want to use for light modules, use the -p
option with the jumpstart command to specify the path to your existing light modules folder. For example:
mgnl jumpstart -p /Users/<username>/<shared-projects>/light-modules/
This process may take some time because it includes a download.
Once the setup operation is complete, you should see a message similar to this one:
info Magnolia has been successfully setup for light development! info You can now open a new terminal tab or window and start it up with the CLI command 'mgnl start' info Magnolia will be ready after a few seconds at localhost:8080/magnoliaAuthor. Username and password is superuser
The following files and folders are created:
dev/ ├── apache-tomcat/ │ ├── bin/ │ ├── conf/ │ ├── lib/ │ ├── logs/ │ ├── temp/ │ └── webapps/ ├── light-modules/ └── magnolia.zip