Update how to guides photos
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 222 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 64 KiB |
@@ -63,7 +63,7 @@ To discover all of the type-aware search recipes, please follow these steps:
|
||||
|
||||
* From the [Moderne Marketplace](https://app.moderne.io/marketplace), click on a category that relates to your needs such as `Java`:
|
||||
|
||||

|
||||

|
||||
* Click on `Search`:
|
||||
|
||||

|
||||
|
||||
@@ -10,14 +10,14 @@ To help you get started with user-configured organizations, in this guide you wi
|
||||
|
||||
## How to create a user-configured organization
|
||||
|
||||
1. In the top left corner of the Moderne home page, you will see a box under the search box that says `Default`:
|
||||
1. In the top left corner of the Moderne home page, you will see an `Organization` icon:
|
||||
|
||||
<figure>
|
||||

|
||||
<figcaption></figcaption>
|
||||
</figure>
|
||||
|
||||
2. If you click on that, the organizations menu will appear:
|
||||
2. If you click on that, the Organizations modal will appear:
|
||||
|
||||
<figure>
|
||||

|
||||
@@ -34,44 +34,46 @@ To help you get started with user-configured organizations, in this guide you wi
|
||||
4. At the top, you should enter a descriptive name for the user organization. This will be the identifier you'll see when you go to select which organization you want to run a recipe on.
|
||||
5. Once you've entered a name for your organization, it's time to select the repositories you want to be included in this organization. You can use the search box to look for repositories that contain your search term anywhere in their origin, organization, name, or branch.
|
||||
6. When you've finished searching for the repositories you want in the organization, you can select all of the repositories to add by clicking on the checkbox at the top or you can select individual repositories by clicking on the checkbox next to each repository.
|
||||
7. Once you've selected all the repositories you want to be in the organization, click on the `Save` button in the bottom right to create the user-configured organization. You will be redirected back to the Organizations page. At the bottom of that page, you will find your organizations under the `My Organizations` heading.
|
||||
7. Once you've selected all the repositories you want to be in the organization, click on the `Save` button in the bottom right to create the user-configured organization. You will be redirected back to the Organizations page. At the bottom of that page, you will find your organizations under the `My organizations` heading.
|
||||
|
||||
<figure>
|
||||

|
||||
<figcaption></figcaption>
|
||||
</figure>
|
||||
|
||||
8. Now, when you go to run any recipe, you can navigate to the Organizations page and click on the organization name to select which organization you want to run the recipe on. Once selected, you should see the name of the organization appear in the box back on the home page:
|
||||
|
||||
<figure>
|
||||

|
||||
<figcaption></figcaption>
|
||||
</figure>
|
||||
8. Now, when you go to run any recipe, you can click on the `Organizations` icon and select the organization you want to run the recipe on.
|
||||
|
||||
## How to modify or delete existing user-configured organizations
|
||||
|
||||
1. From any page, click on the organization box under the search box:
|
||||
|
||||
<figure>
|
||||

|
||||

|
||||
<figcaption></figcaption>
|
||||
</figure>
|
||||
|
||||
2. This will take you to the list of organizations or user-configured organizations to select:
|
||||
|
||||
<figure>
|
||||

|
||||

|
||||
<figcaption></figcaption>
|
||||
</figure>
|
||||
|
||||
3. To modify a user-configured organization, scroll to the bottom of that page and click on the wrench icon next to the organization you want to modify. You will be redirected to a page that allows you to select repositories:
|
||||
3. To modify a user-configured organization, click on the triple dots next to the organization you want to modify and then select `Update organization`:
|
||||
|
||||
<figure>
|
||||

|
||||
<figcaption></figcaption>
|
||||
</figure>
|
||||
|
||||
4. You will be redirected to a page that allows you to select repositories:
|
||||
|
||||
<figure>
|
||||

|
||||
<figcaption></figcaption>
|
||||
</figure>
|
||||
|
||||
4. To remove a user-configured organization, scroll to the bottom of the page and click on the `...` icon. Then select `Delete user organization` and it will be removed.
|
||||
5. To remove a user-configured organization, select `Delete user organization` instead of `Update organization`.
|
||||
|
||||
## How to export user-configured organization JSON
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@ This is what preconditions were designed for. **They are a way of restricting wh
|
||||
|
||||
In this guide, we'll walk through how preconditions work and how you can use them in the Moderne Platform.
|
||||
|
||||
<ReactPlayer className="reactPlayer" url='https://www.youtube.com/watch?v=7jRuXiX3xuw' controls="true" />
|
||||
|
||||
## How preconditions work
|
||||
|
||||
Preconditions, at their core, are just recipes that run before the current list of recipes you're wanting to run. When a recipe is used as a precondition, any file that it would make a change to is considered to meet the precondition. When more than one recipe is used as a precondition, all of them must make a change to the file for it to be considered to meet the precondition.
|
||||
@@ -32,7 +30,7 @@ With the preconditions being done, the core recipe you're wanting to run will th
|
||||
|
||||
## How to use preconditions in the Moderne Platform
|
||||
|
||||
From the [recipe marketplace](https://app.moderne.io/marketplace), find the recipe you'd like to use as a precondition. Once you've found it, click on the triangle drop-down next to the text `Add to builder` and select `Add as precondition`.
|
||||
From the [recipe marketplace](https://app.moderne.io/marketplace), find the recipe you'd like to use as a precondition. Once you've found it, click on the `Add to Builder` button and then select `Add as a precondition` checkbox:
|
||||
|
||||
<figure>
|
||||

|
||||
@@ -42,26 +40,12 @@ From the [recipe marketplace](https://app.moderne.io/marketplace), find the reci
|
||||

|
||||
</figure>
|
||||
|
||||
You will then be redirected to the [recipe builder page](https://app.moderne.io/recipes/builder).
|
||||
You can then either choose to add the precondition to a recipe you've already created or you can create a new recipe entirely. To add it to a recipe you've already created, click on the recipe name and then press `Add to selected`. To create a new recipe with this as a precondition, press `Add to new recipe`. Regardless of which one you picked, you'll be redirected to the
|
||||
|
||||
You will then be redirected to the [recipe builder page](https://app.moderne.io/builder). Preconditions are always highlighted to show that they're a precondition and not a recipe being run:
|
||||
|
||||
<figure>
|
||||

|
||||
</figure>
|
||||
|
||||
If you want to add more preconditions, you can follow the same steps as above. After doing so, you'll want to select the recipe(s) you want to run (which will only update the files that have met the preconditions).
|
||||
|
||||
To do so, find the recipe you want to run and press `Add to builder`:
|
||||
|
||||
<figure>
|
||||

|
||||
</figure>
|
||||
|
||||
You'll then be redirected to the same [recipe builder page](https://app.moderne.io/recipes/builder). You can add more recipes to be run if you'd like. You can also update or remove the recipes and preconditions from this page.
|
||||
|
||||
When you're ready to run the recipe with the specified preconditions, press the `Dry run` button at the top of the page:
|
||||
|
||||
<figure>
|
||||

|
||||
</figure>
|
||||
|
||||
You've now successfully created and run a recipe with preconditions!
|
||||
If you want to add more preconditions, you can follow the same steps as above. When you're ready to run the recipe, follow the [instructions in our recipe builder guide](./new-recipe-builder.md).
|
||||