-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'edge' into reshma/troubleshootingapps
- Loading branch information
Showing
3 changed files
with
60 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
docs/content/guides/deploy-apps/howto-deploy/howto-run-app/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
type: docs | ||
title: "How-To: Run applications on Radius" | ||
linkTitle: "Run apps" | ||
description: "Learn how to run applications on Radius" | ||
weight: 100 | ||
categories: "How-To" | ||
tags: ["deployments"] | ||
--- | ||
|
||
## Pre-requisites | ||
- [An authored Radius application]({{< ref author-apps >}}) | ||
|
||
## Step 1: Run an application | ||
|
||
{{< tabs Run-app Run-app-with-parameters >}} | ||
|
||
{{% codetab %}} | ||
You can run an application using the [`rad run`]({{< ref rad_run >}}) command. | ||
|
||
```bash | ||
rad run app.bicep | ||
``` | ||
|
||
This will deploy the application to your environment, create port-forwards for all container ports, and stream container logs to the console. | ||
{{% /codetab %}} | ||
|
||
{{% codetab %}} | ||
Parameters can be included as part of `rad run` via the `-p/--parameters` flag: | ||
|
||
```bash | ||
rad run app.bicep -p param1=value1 -p param2=value2 | ||
``` | ||
|
||
This will deploy the application to the created Radius environment injecting the parameters into the application. | ||
|
||
You can find more examples of deploying applications with parameters [here]({{< ref "rad_run#examples" >}}). | ||
{{% /codetab %}} | ||
|
||
{{< /tabs >}} | ||
|
||
> Follow the [how-to guide]({{< ref troubleshooting-radius >}}) for guidance on troubleshooting your apps |