Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a section on deploying applications #650

Merged
merged 23 commits into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/config/en-custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -424,3 +424,4 @@ httpGet
tcp
BucketName
Balancer
Modelling
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: "Modelling applications"
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
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
2 changes: 1 addition & 1 deletion docs/content/contributing/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: docs
title: "Contributing to Radius"
linkTitle: "Contributing"
description: "Guides and requirements for contributing to Radius"
weight: 80
weight: 70
no_list: true
---

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

You can run an application locally using the [`rad run`]({{< ref rad_run >}}) command. command.
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

```bash
rad run app.bicep
```

This will run your application locally by creating a port-forward from localhost to the port in the container and streams the logs to the console.
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

## Deploy a Radius application
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

Once you have [authored an application]({{< ref author-apps >}}), you can deploy it to an environment via rad CLI using the [`rad deploy`]({{< ref rad_deploy>}})

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

Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
### Deploying applications with parameters (optional)

You can also deploy an application with parameters using the [`rad deploy`]({{< ref rad_deploy>}}) command.
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

```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.
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

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 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: 70
weight: 60
---
Loading