Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
Excerpt |
---|
REST endpoints enable other software to get real, raw content directly from Magnolia. This is how mobile apps, front-end JavaScript apps, or systems, like e-commerce or banking systems, can connect with Magnolia. With our out-of the-box delivery endpoint, this is easy and fast to set up, more powerful and more performant than ever. |
...
Anchor | ||||
---|---|---|---|---|
|
In this section you use Magnolia CLICLI2 to install and start a preconfigured Magnolia 5.6.0 bundle with the required modules for Magnolia REST features.
...
If you do not have Magnolia CLI, install it as described here.
Then install Magnolia as follows:
Change to the directory to where you want to install the Magnolia bundle. In our example, we use the directory ~/dev/mgnl-rest-test-base
:
Code Block |
---|
cd ~/dev/mgnl-rest-test-base |
Execute the Magnolia CLI jumpstart
command to get Magnolia 5.6.0:
Code Block |
---|
mgnl jumpstart -m 5.6 |
Jumpstart downloads and extracts the magnolia-community-demo-bundle
5.6.0 that comes with Tomcat server.
The following files and folders are created:
Code Block | ||
---|---|---|
| ||
mgnl-rest-test-base/ ├── apache-tomcat ├── light-modules └── magnolia.zip |
Go to the ~dev/mgnl-rest-test-base
directory and execute the Magnolia CLI start
command:
Code Block |
---|
mgnl start |
When starting for the first time, Magnolia runs a web update and automatically installs all its modules.
In your preferred browser, open the URL http://localhost:8080/magnoliaAuthor/ and log in as user superuser
with the password superuser
.
Have a look around Magnolia. Access the public instance with the URL http://localhost:8080/magnoliaPublic/.
...