Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/edge' into jasonviviano/terrafor…
Browse files Browse the repository at this point in the history
…m-recipes
  • Loading branch information
jasonviviano committed Aug 11, 2023
2 parents b192acc + 7364b4d commit fe7643f
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/content/author-apps/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: docs
title: "Developing applications"
linkTitle: "Developing applications"
description: "Learn how to develop a Radius application"
title: "Authoring applications"
linkTitle: "Authoring applications"
description: "Learn how to author a Radius application"
weight: 30
---
2 changes: 1 addition & 1 deletion docs/content/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: docs
title: "Radius Community"
linkTitle: "Community"
description: "Information about the Radius community"
weight: 85
weight: 80
---

Welcome to the Radius community. We are currently in a private release phase which is open to Microsoft FTEs and select partners. The team is working on a public preview release which will be announced on this page.
Expand Down
7 changes: 7 additions & 0 deletions docs/content/deploy-apps/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: docs
title: "Deploying applications"
linkTitle: "Deploying applications"
description: "Learn how to deploy a Radius application to an environment"
weight: 40
---
41 changes: 41 additions & 0 deletions docs/content/deploy-apps/deploy-applications/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
type: docs
title: "Overview: Deploying applications into a Radius environment"
linkTitle: "Deploy applications"
description: "Learn how to deploy a Radius application"
weight: 200
categories: "Overview"
tags: ["deployments"]
---

## Run an application

Once you have [authored an application]({{< ref author-apps >}}), 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.

## Deploy an application

An application can be deployed to an environment with [`rad deploy`]({{< ref rad_deploy>}}):

```bash
rad deploy app.bicep
```
This will deploy the application to the created Radius environment.

### Parameters

Parameters can be included as part of `rad run` or `rad deploy` via the `-p/--parameters` flag:

```bash
rad deploy 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_deploy#examples" >}}).

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: docs
title: "How-To: Setup a development environment"
linkTitle: "Developer environments"
description: "Learn how to initialize a new Radius development environment"
weight: 200
weight: 100
categories: "How-To"
tags: ["environments"]
---
Expand All @@ -25,9 +25,9 @@ Radius development environments enable you to quickly get started with Radius an

## How-to: Initialize a new dev environment

1. Initialize a new [Radius environment]({{< ref "operations/environments/overview">}}) with `rad init --dev` command:
1. Initialize a new [Radius environment]({{< ref "operations/environments/overview">}}) with `rad init` command:
```bash
rad init --dev
rad init
```

Select `Yes` to setup the app.bicep in the current directory
Expand Down
2 changes: 1 addition & 1 deletion docs/content/operations/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ type: docs
title: "Operating application environments"
linkTitle: "Operating environments"
description: "Learn about operating Radius environments and apps"
weight: 40
weight: 50
---
2 changes: 1 addition & 1 deletion docs/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ type: docs
title: "Radius reference documentation"
linkTitle: "Reference"
description: "Detailed reference documentation on various Radius components"
weight: 80
weight: 60
---

0 comments on commit fe7643f

Please sign in to comment.