↓ Skip to main content
An isometric drawing of an orange wooden workbench with a small teal vise. On a pegboard behind it hang four tools in a row: a hammer, a screwdriver, an orange wrench and a pair of pliers. The bench top is empty.

Setting Up Your Development Environment

“What do I have to install?” is the first question of every developer who starts with Maximo Mobile. The honest answer is: for the first app, nothing. For daily work with tests, version control and a fast preview, a small set of tools on your own machine. This page describes both ways, so that you can pick the one that fits where you are.

MAS 9.2 series getting started

The facts about the local setup come from our own machines and our own test system, on the MAS 9.2 series. Tool versions change with every release, so read them as an example.

Two ways to work
#

In the productOn your own machine
Where you editthe Application Configuration application, in the browseryour own editor
What you installnothingNode.js, a package manager, the packages of the framework
Previewfrom the applicationa local server with a proxy to Manage
Version controlthe revisions that Manage keepsGit, with every file of the app
Good forthe first app, a small change, a look arounddaily work with tests, a team, a pipeline

Both ways end at the same place. A changed app is published to Manage, and Manage serves it to the users.

The way inside the product
#

The Application Configuration application is part of Manage. You duplicate an app of IBM, change the copy in an editor in the browser, preview it and publish it. Hello World in Maximo Mobile walks through exactly this path.

You need three things for it:

  • A Manage system for development. Use a system on which a broken app hurts nobody.
  • The rights to use the Application Configuration application.
  • A user for the preview who has data: a technician with assigned work shows more than an administrator with none.

The way on your own machine
#

A local setup has four parts. We give each one with the facts of our own setup.

You need Node.js and a package manager. An app is a JavaScript project with a package.json. Our apps build with Node.js 24 and Yarn 1.22.

You need the packages of the framework. IBM’s Timesheet app, a small one, names three packages of the framework as dependencies, and three more as tools for the build. They are called @maximo/…. They are not on the public package registry: a request for one of them there answers with “not found”. We take them from the Application Configuration container of the same release as our system. Overview of the @maximo Packages says what each package is for.

The build has two steps. The first turns the XML of the app into React source, and the second bundles it. A rebuild of our own app after a change takes about two seconds. The Graphite MAF Architecture Overview explains the two steps.

The preview is a local server. It shows the app in the browser, on port 3000. It has a proxy that sends the requests for data to your Manage system, with an API key. The preview therefore shows real data, and it shows it with the rights of the user behind that key.

What the preview shows
#

The preview runs in a browser and reads its data online. It is the right tool for pages, bindings and the logic of controllers. It says nothing about the behaviour on a device without a network, and it sees the data of one user. The fourth point of Ten Things Every Maximo Developer Believes That Are Wrong has the measurement.

Match the release
#

One rule matters more than every tool. An app is built with the packages of one release of the framework, and it runs on a system of one release. The two have to fit. After an update of your Manage system, take the packages of the new release, and build your apps again. IBM MAS and Maximo Mobile shows the version numbers that are involved.

A checklist before the first day
#

  1. A Manage system for development, and its address.
  2. A user with the right to use Application Configuration.
  3. A user with data for the preview, and an API key for the local way.
  4. Node.js and Yarn, in the versions your release expects.
  5. The packages of the framework, from the release of your system.
  6. A Git repository for each app.

For the first three points you need your Maximo administrator. The rest is on your own machine.

What to read next#

Hello World in Maximo Mobile is the first app, made inside the product. Understanding Your First Maximo Mobile App reads the files of an app, and MAML Basics starts with the XML. The step by step of a full local setup, with the build of a large app and its tests, is in our member area.


IBM describes the Application Configuration application and the development of apps in the documentation of Maximo Mobile.