Building and deploying your app
Build the modified Room Reservation app using npm run build after cleaning up line endings, deploy it to the Maximo® Real Estate and Facilities server with tri-deploy command specifying credentials and paths, then review the deployed application in browser.
Finally, after modifying or customizing your Room Reservation app, build and deploy your modified app to your IBM® Maximo Real Estate and Facilities server as follows.
- To clean up any inconsistent line endings or carriage returns (CR), manually set
removeCRtotrueas follows. Navigate to /node_modules/resolve-url-loader/index.js. Edit the index.js file by locating theresolveUrlLoadermethod and replacingremoveCR:falsewithremoveCR:true. Save the file. -
Before you can deploy your modified app, you must first build it by running
npm run build.cd tririga-room-reservation npm run build - To deploy your modified app, run the following
tri-deploycommand. For example:tri-deploy -t http://www.mytririga.com/devPath -u myUserName -p myPassword -v tririga-room-reservation -d /my-directory -w - Open your modified Room Reservation app from your browser to review your app.