Quick start tutorial: Creating a Martini package
Estimated time to complete: 1 minute
Martini groups related components together using Martini packages. Packages let you easily export, import, enable, and disable groups of application functionality with a few simple clicks. Martini packages are a collection of services, endpoints, web pages, Solr cores, APIs, and other resources that can be used by your applications. They keep things organised by grouping related logical units together.
Ideally, each application has its own package1. But when Martini is first installed, it only has the
examples
package installed. So in order to get started, you should create a new Martini
package for your application.
For this tutorial, a new package called hello
will be created using the steps below:
- Right-click on your Martini instance in the Navigator.
- Hover over New, and then select Martini Package.
- Enter
hello
as the name of the package and any Marketplace ID to your liking. - Click Finish.
After a few seconds, Martini will create your package, and you'll be able to see it in the Navigator.
Launch the wizard using keyboard shortcuts only
A way to quickly open the package wizard is through the wizard launcher. To open the wizard this way:
- Press if you're using Martini Desktop; if Martini Online.
- Enter
mp
2 in the search field. - Select Martini Package from the list of suggestions.