SetupGuide
SetupGuide
0
Setup Guide
Welcome to the Tom Sawyer SysML v2 Viewer setup guide. This document will help you get started
with running Tom Sawyer SysML v2 Viewer in Docker. Follow the steps below to configure and launch
the application.
Prerequisites
Before you begin, ensure you have the following:
Docker
Docker Compose
Compliant SysML v2 API & Services Instance
Note: If you do not have an API & Services instance, we offer a Docker deployment that launches the
SysML v2 Pilot Implementation developed by the Object Management Group’s Systems Modeling
Community (SMC). For more details on this see step 3 of this guide and section ‘Run SysML v2 Pilot
Implementation’.
application.properties
docker-compose.yaml
Dockerfile.tsviewer
SetupGuide.pdf (this guide)
smc (directory)
SysML2.jar
Replace application.properties with the file you downloaded during license activation
on the Tom Sawyer Software website.
com.tomsawyer.licensing.centralServerHostName=
com.tomsawyer.licensing.path=tslicenseserver
com.tomsawyer.licensing.protocol=https
com.tomsawyer.licensing.port=443
Note: If both Docker and Tom Sawyer Licensing Server are running in the same machine, you
can use host.docker.internal for the centralServerHostName property. For more
information see https://docs.docker.com/desktop/networking.
sysml2.server.url=
Note: For your convenience we provide a separate Docker deployment of the SysML v2 Pilot
Implementation developed and maintained by the Object Management Group’s Systems
Modeling Community (SMC). If you use it, set the endpoint url to the following value:
http://host.docker.internal:9000/.
For more information on running this, please see the ‘Run SysML v2 Pilot Implementation’
section at the end of this document.
Tom Sawyer SysML v2 Viewer allows you to visualize the SysML v2 projects from your Compliant
SysML v2 API & Services Instance.
Disclaimer: The SysML v2 Pilot Implementation is not developed, maintained, or supported by Tom
Sawyer Software. It has been developed by the OMG Systems Modeling Community and is provided
solely for your convenience. Tom Sawyer Software makes no representations or warranties, express
or implied, as to the functionality, compatibility, reliability, or accuracy of this software. Use of the
SysML v2 Pilot Implementation is at your own risk, and Tom Sawyer Software disclaims any and all
liability for any damages or issues that may arise from its use.
Open a terminal with administrative rights and navigate to the directory where you extracted
the zip file.
To ensure that the API & Services is up, open the following URL on a Web Browser:
http://localhost:9000/docs/
Note: The first time this page is opened it may take a long time. This is the database startup
time and will happen anytime the API & Services container is restarted.
On the JupyterLab page, open the FirstSteps.ipynb file. This notebook contains detailed
instructions on how to compile and publish SysML v2 models.
We hope this guide helps you set up Tom Sawyer SysML v2 Viewer. If you encounter any issues,
please contact our support team at https://support.tomsawyer.com.