|
1 | 1 | --- |
2 | | -title: Online IDE (via Gitpod) |
| 2 | +title: Online IDE (no longer supported) |
3 | 3 | permalink: /docs/online-ide/ |
4 | 4 | image: /img/cm-og-image.png |
5 | 5 | --- |
6 | 6 |
|
7 | | -Instead of installing Context Mapper in [Eclipse](/docs/eclipse) or [Visual Studio Code](/docs/vs-code/), you can use our Editor and tools directly in the browser! If your project is hosted on Github, you can use our VS Code extension inside the online IDE provided by [Gitpod](https://www.gitpod.io/) (based on [Eclipse Theia](https://theia-ide.org/)). |
8 | | - |
9 | | -You can easily find the Context Mapper extension in your Gitpod, as we publish it to the [Open VSX Registry](https://open-vsx.org/extension/contextmapper/context-mapper-vscode-extension). |
10 | | - |
11 | | -<a target="_blank" href="/img/gitpod-screenshot.png"></a> |
12 | | - |
13 | | -## Getting Started |
14 | | -You can start a [Gitpod](https://www.gitpod.io/) online IDE for your Github repository by prepending `https://gitpod.io/#` to its URL. For example, if the Github repo URL is [https://github.com/ContextMapper/context-mapper-examples](https://github.com/ContextMapper/context-mapper-examples), you start the Gitpod with [https://gitpod.io/#https://github.com/ContextMapper/context-mapper-examples](https://gitpod.io/#https://github.com/ContextMapper/context-mapper-examples). |
15 | | - |
16 | | -### Context Mapper Gitpod Demo |
17 | | -Start mapping your contexts using our demo repository right now: (you can also fork the repo first, in case you want to commit your own models) |
18 | | - |
19 | | -**[Start online IDE with Context Mapper Demo](http://demo.contextmapper.org)** (http://demo.contextmapper.org) |
20 | | - |
21 | | -### Context Mapper Examples Repository |
22 | | -Our examples repository already contains a Gitpod configuration as well. Therefore, you can simply start the online IDE and the Context Mapper extension will already be installed. |
23 | | - |
24 | | -**[Start online IDE for Context Mapper Examples Now](https://gitpod.io/#https://github.com/ContextMapper/context-mapper-examples)** |
25 | | - |
26 | | -### Configure Own Repository |
27 | | -If you start the online IDE for your any other repository (not yet configured), you can easily install the Context Mapper extension. |
28 | | - |
29 | | -In case you want to configure Gitpod for all users of your repository, click "Setup Project" after you started the IDE to setup a `.gitpod.yml` file: |
30 | | - |
31 | | -<a target="_blank" href="/img/gitpod-setup-project.png"></a> |
32 | | - |
33 | | -To install Context Mapper, just open the extensions view, search for "Context Mapper", and click "Install": |
34 | | - |
35 | | -<a target="_blank" href="/img/gitpod-install-contextmapper.png"></a> |
36 | | - |
37 | | -In case you install the extension for the project (not only for user), it will be added to the `.gitpod.yml` file. By committing the file to your repo, you share the configuration with all users of your repository. |
38 | | - |
39 | | -### Configure Additional Tools |
40 | | -Depending on how you use Context Mapper you may want to install additional tools in your Gitpod. For example: for the [graphical Context Map generator](/docs/context-map-generator/) you need [Graphviz](https://graphviz.org/) being installed on the system. This can be achieved by configuring a custom Dockerfile for your Gitpod. Just add a `.gitpod.Dockerfile` file to your Github repository. Here an example with Graphviz as additional tool: |
41 | | - |
42 | | -``` |
43 | | -FROM gitpod/workspace-full |
44 | | -
|
45 | | -# Install Graphviz |
46 | | -RUN sudo apt-get update \ |
47 | | - && sudo apt-get -y install graphviz |
48 | | -``` |
49 | | - |
50 | | -In the `.gitpod.yml` file you have to declare the file as follows: |
51 | | - |
52 | | -``` |
53 | | -image: |
54 | | - file: .gitpod.Dockerfile |
55 | | -``` |
56 | | - |
57 | | -## Whats Next? |
58 | | - |
59 | | - * Check our [language reference](/docs/language-reference/) for the syntax of Context Mapper DSL (CML) files. |
60 | | - * Have a look at our [example](/docs/examples/) models. |
61 | | - * Once you are familiar with the DSL, learn more about the following tools and generators: |
62 | | - * [Rapid prototyping transformations](/docs/rapid-ooad/) |
63 | | - * [Architectural Refactorings (ARs)](/docs/architectural-refactorings/) |
64 | | - * [Context Map Suggestions with Service Cutter](/docs/service-cutter-context-map-suggestions/) |
65 | | - * [Discovery library](/docs/reverse-engineering/) to reverse engineer CML models from existing code. |
66 | | - * [Generators](/docs/generators/) |
| 7 | +<div class="alert alert-danger"> |
| 8 | +<strong>Note:</strong> The Online IDE is <strong>no longer supported</strong>. GitPod has become ONA and now requires all GitHub users to grant access to all their repositories, including private ones. It seems they require this in order to feed their AI-based systems. To us, this is not okay, which is why we no longer actively support it here. Sorry for the inconvenience! |
| 9 | +</div> |
0 commit comments