You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Gradle, you run a `model-server` as in the following minimal working example:
129
+
When using Gradle, you can run a `model-server` by adding a dependency to `org.modelix:model-server`, as shown in the following minimal working example.
132
130
133
131
.Content of minimal `build.gradle.kts` to run a `model-server` in memory
134
132
[source, kotlin]
@@ -157,7 +155,7 @@ tasks.run.configure {
157
155
}
158
156
--
159
157
160
-
You can run it simply by running
158
+
You can start the model-server simply by running
161
159
162
160
[source, bash]
163
161
--
@@ -194,9 +192,28 @@ To give arguments to the gradle run command, you have to add them via the `--arg
194
192
====
195
193
196
194
197
-
=== 5. *In Process* (Kotlin)
195
+
=== 5. MPS
196
+
197
+
You can run a *light version* of the `model-server` directly in MPS via the dedicated *MPS as Modelix Model Server Plugin*, which is published over at the https://plugins.jetbrains.com/plugin/22834-mps-as-modelix-model-server[JetBrains Marketplace].
198
+
199
+
200
+
[IMPORTANT]
201
+
====
202
+
A light model-server does not provide the full features as an independent `model-server` instance will.
203
+
More *advanced features* (e.g. xref:core:howto/modelql-writing.adoc[ModelQL], or the xref:core:howto/metrics.adoc[metrics]) and *advanced clients* (e.g. xref:core:howto/modelql.adoc[ModelQLClient]) will not work.
204
+
====
205
+
206
+
In MPS navigate to File -> Settings -> Plugins (left) -> Marketplace (top) -> search for "modelix model server" -> press install.
207
+
208
+
image::model-server-plugin-marketplace.png[Installing the MPS model-server plugin]
0 commit comments