Changes for page Running KEITH
Last modified by Richard Kreissig on 2023/09/14 08:48
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. sdo1 +XWiki.nre - Content
-
... ... @@ -8,14 +8,18 @@ 8 8 9 9 For everything not mentioned here refer to [[Getting Eclipse>>doc:KIELER.Getting Eclipse||shape="rect"]] guide. 10 10 11 -Use the installer go to advanced mode, add the KIELER url. If you planto developforhesemanticlanguageserver(e.g.for thecompiler)youshouldselectKIELERsemanticsfordiagramonlyKIELERpragmatics.Inase selectthekeithstream.11 +Use the installer go to advanced mode, add the KIELER url. Then select first semantics and after that pragmatics (**that is very** **important**). You can see that you have done that correctly on the automatically generated name of your Eclipse: It should be something like kieler-semantics-theia. 12 12 13 - If you plantodevelopinelkat thesame time first selectthe EclispeLayoutKernelsetupand afterthat thesemanticsor pragmaticssetup.13 +Select the Theia stream for semantics and the Keith stream for pragmatics and use the latest Eclipse if possible. Set the targetplatform to latest and finish. 14 14 15 15 Wait till everything installs and the setup tasks finish. If you have any problems in this stage refer to the [[Getting Eclipse>>doc:KIELER.Getting Eclipse||shape="rect"]] guide. 16 16 17 - To run the language server go to //Run Configurations// create a new E//clipse Application// run configuration and select //Run an application// and //de.cau.cs.kieler.language.server.LanguageServer// (for semantics LS,//de.cau.cs.kieler.kgraph.language.server.LanguageServer// otherwise)17 +\\ 18 18 19 +The setup tasks for Modular Target will fail. Disable it after this happens and execute them again via //Help>Perform Setup Tasks//. Open the //plug-in development// perspective. Select working sets as top level elements. Run //clean build//. Several pragmatics projects have errors. Just close them and you will be fine. 20 + 21 +To run the language server go to //Run Configurations// create a new E//clipse Application// run configuration and select //Run an application// and //de.cau.cs.kieler.language.server.LanguageServer// 22 + 19 19 == [[image:attach:Screenshot from 2019-02-15 14-10-50.png]] == 20 20 21 21 \\ ... ... @@ -34,7 +34,7 @@ 34 34 35 35 [[image:attach:Screenshot from 2019-02-15 14-13-34.png]] 36 36 37 -The default port to which KEITH tries to connect is 5007. You can of course change this for the languae server but be aware that this has to be changed in KEITH too.41 +The default port to which KEITH tries to connect is 5007. 38 38 39 39 == Setting up a KEITH developer setup... == 40 40 ... ... @@ -111,44 +111,8 @@ 111 111 112 112 = Stuff that may help = 113 113 114 -== How to runKEITHindevelopersetup(socket)==118 +== Running the already build LS == 115 115 116 -Run the following to build and run KEITH in its developer setup (in socket mode, so the LS has to be started separately) 117 - 118 -=== Running KEITH in the browser === 119 - 120 -\\ 121 - 122 -{{code language="bash"}} 123 -yarn && cd keith-app && yarn run socket 124 -{{/code}} 125 - 126 -//yarn// builds all the stuff. //yarn run socket// in keith-app starts the application. After an initial build via yarn you can run //yarn watch //to watch the changes in your repository. In another console you run yarn run socket in keith-app. Now refreshing your browser is enough to apply the changes. 127 - 128 -Per default the KEITH opens on localhost:3000. 129 - 130 -{{info}} 131 -If you previously build keith electron, you have to execute {{code language="none"}}yarn run rebuild:browser{{/code}} 132 -{{/info}} 133 - 134 -Run Launch in Chrome via VSCode to open a chrome browser on localhost:3000 135 - 136 -This is necessary to be able to debug in VSCode. 137 - 138 -=== Running KEITH as (unbundled) electron app === 139 - 140 -{{code language="bash"}} 141 -yarn && yarn run rebuild:electron && cd keith-app-electron && yarn run socket 142 -{{/code}} 143 - 144 -//yarn// builds all the stuff. //yarn run socket// in keith-app-electron starts the application. After an initial build via yarn you can run //yarn watch //to watch the changes in your repository. In another console you run yarn run socket in keith-app-electron. Now refreshing your browser is enough to apply the changes. 145 - 146 -{{info}} 147 -If you previously build keith electron, you have to execute {{code language="none"}}yarn run rebuild:electron{{/code}} 148 -{{/info}} 149 - 150 -== Running the already build LS (you normally do not want to do this) == 151 - 152 152 Go to the latest [[Bamboo build>>url:https://rtsys.informatik.uni-kiel.de/bamboo/browse/KISEMA-NSI||shape="rect"]] and go to Artifacts. 153 153 154 154 [[image:attach:image2019-2-7_17-46-58.png]] ... ... @@ -196,8 +196,40 @@ 196 196 197 197 The {{code language="none"}}LSP_PORT{{/code}} option is used to activate the connection via socket. It is also possible to specify a relative location to a LS via {{code language="none"}}LS_PATH=<path to LS>{{/code}}. 198 198 199 -= Known Issues =167 +== How run KEITH in developer setup (socket) == 200 200 169 +Run the following to build and run KEITH in its developer setup (in socket mode, so the LS has to be started separately) 170 + 171 +=== Running KEITH in the browser === 172 + 173 +\\ 174 + 175 +{{code language="bash"}} 176 +yarn && cd keith-app && yarn run socket 177 +{{/code}} 178 + 179 +//yarn// builds all the stuff. //yarn run socket// in keith-app starts the application. After an initial build via yarn you can run //yarn watch // to watch the changes in your repository. In another console you run yarn run socket in keith-app. Now refreshing your browser is enough to apply the changes. 180 + 181 +Per default the KEITH opens on localhost:3000. 182 + 183 +{{info}} 184 +If you previously build keith electron, you have to execute {{code language="none"}}yarn run rebuild:browser{{/code}} 185 +{{/info}} 186 + 187 +\\ 188 + 189 +=== Running KEITH as (unbundled) electron app === 190 + 191 +{{code language="bash"}} 192 +yarn && yarn run rebuild:electron && cd keith-app-electron && yarn run socket 193 +{{/code}} 194 + 195 +//yarn// builds all the stuff. //yarn run socket// in keith-app-electron starts the application. After an initial build via yarn you can run //yarn watch // to watch the changes in your repository. In another console you run yarn run socket in keith-app-electron. Now refreshing your browser is enough to apply the changes. 196 + 197 +{{info}} 198 +If you previously build keith electron, you have to execute {{code language="none"}}yarn run rebuild:electron{{/code}} 199 +{{/info}} 200 + 201 201 === Known issues for windows: === 202 202 203 203 nsfw.code not found: In the top level package.json exists a script called postinstall. Remove this on windows, delete the node_modules folder and rebuilt the application. This is a known issue of electron-builder.
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -730728 931 +73072681 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/730728 93/Running KEITH1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/73072681/Running KEITH