Magnolia 6.0 reached end of life on June 26, 2019. This branch is no longer supported, see End-of-life policy.
Use the jumpstart
command to install Magnolia. This command downloads, unpacks and pre-configures a Magnolia bundle of your choice.
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/
To install Magnolia:
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
Choose the magnolia-community-demo-webapp
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 CLI configuration.
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/ll │ ├── lib/ │ ├── logs/ │ ├── temp/ │ └── webapps/ ├── light-modules/ └── downloads