Update getting started photos
|
After Width: | Height: | Size: 2.5 MiB |
|
Before Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 184 KiB |
|
Before Width: | Height: | Size: 219 KiB |
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 184 KiB |
|
After Width: | Height: | Size: 82 KiB |
@@ -16,7 +16,9 @@ In this short getting started guide, we will walk through where you can find the
|
||||
|
||||
You can find all of the Moderne codemods in the [Moderne marketplace](https://app.moderne.io/marketplace) under the [JavaScript Codemods section](https://app.moderne.io/marketplace/org.openrewrite.codemods):
|
||||
|
||||

|
||||
<figure>
|
||||

|
||||
</figure>
|
||||
|
||||
## Real-world example
|
||||
|
||||
|
||||
@@ -17,24 +17,18 @@ Moderne's [common static analysis recipe](https://app.moderne.io/recipes/org.ope
|
||||
|
||||
To get to this recipe:
|
||||
|
||||
* From the [home page](https://app.moderne.io/marketplace), click on `Marketplace` in the top left corner. This will take you to the recipe marketplace.
|
||||
* From there, click on `Static analysis and remediation` and then `Core`.
|
||||
* Ensure that you are at the [recipe marketplace](https://app.moderne.io/marketplace).
|
||||
* From there, click on `Static analysis and remediation` and then `Core`. Click on the `Common static analysis issues` recipe and then click on `See details` to be taken to the [CommonStaticAnalysis recipe page](https://app.moderne.io/recipes/org.openrewrite.staticanalysis.CommonStaticAnalysis):
|
||||
|
||||

|
||||
|
||||
* At the top, you should see a recipe called `Common static analysis issues`. If you click on it, it will expand slightly. 
|
||||
|
||||

|
||||
|
||||
* Click on `See details` to be taken to the [CommonStaticAnalysis recipe page](https://app.moderne.io/recipes/org.openrewrite.staticanalysis.CommonStaticAnalysis):
|
||||
|
||||

|
||||

|
||||
|
||||
### Running the recipe
|
||||
|
||||
The bottom half of the page lists all of the recipes that will be run as part of this analysis. You can click on the checkbox next to any of them to enable or disable that particular recipe from being run. You can also click on the recipes themselves to get more information about that specific recipe or to run just that one.
|
||||
The bottom half of the page lists all of the recipes that will be run as part of this analysis. You can click on any of the recipes to get more information about that specific recipe or to just run that one.
|
||||
|
||||
When you're ready to run the recipe, select the repositories you wish to run on and then press `Dry Run`. You will then be redirected to a page that looks like this:
|
||||

|
||||
|
||||
When you're ready to run the recipe, press the `Dry Run` button at the top of your screen. You will then be redirected to a page that looks like this:
|
||||
|
||||
:::info
|
||||
As the code in the SaaS is constantly changing, your results will more than likely be different.
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
description: Running your first recipe
|
||||
---
|
||||
|
||||
import ReactPlayer from 'react-player';
|
||||
|
||||
# Quickstart: Running your first recipe
|
||||
@@ -47,14 +51,17 @@ If you went to run a recipe right now, you would find that some repositories are
|
||||
|
||||
If you'd prefer to run against a different group of repositories so that you can get relevant results more quickly, you can: select the organization that matches your needs, set up the [Organization service](../../../administrator-documentation/moderne-platform/how-to-guides/organizations-service.md) (for enterprise users), or follow our [instructions for defining user configured organizations](../how-to-guides/managing-user-configured-organizations.md#how-to-create-a-user-configured-organization).
|
||||
|
||||

|
||||
<figure>
|
||||

|
||||
<figcaption>_Selecting an organization_</figcaption>
|
||||
</figure>
|
||||
|
||||
## Step 4: Navigate to the recipe marketplace
|
||||
|
||||
Once you've decided what repositories you want to run recipes against, click on `Marketplace` on the left side of the screen:
|
||||
Once you've decided what repositories you want to run recipes against, click on `Marketplace` on the left side of the screen (If you aren't already there):
|
||||
|
||||
<figure>
|
||||

|
||||

|
||||
<figcaption>_Moderne home page_</figcaption>
|
||||
</figure>
|
||||
|
||||
|
||||