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 Use the jumpstart
command to install Magnolia. 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:
Code Block |
---|
cd /Users/<username>/dev/ |
Execute the Magnolia CLI jumpstart
command:
...
Magnolia bundle of your choice.
Tip |
---|
The |
...
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 |
...
For example: |
...
|
...
|
...
|
...
|
To install Magnolia:
Change to the directory to where you want to install the Magnolia bundle. For example:
Code Block |
---|
cd /Users/<username>/dev/ |
Execute the Magnolia CLI jumpstart
command:
Code Block |
---|
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.
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:
Code Block | ||
---|---|---|
| ||
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:
Code Block | ||
---|---|---|
| ||
dev/ ├── apache-tomcat/ │ ├── bin/ │ ├── conf/ll │ ├── lib/ │ ├── logs/ │ ├── temp/ │ └── webapps/ ├── light-modules/ └── magnolia.zipdownloads |