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 3 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
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"
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
linkTitle: "Authoring applications"
description: "Learn how to author a Radius application"
weight: 30
---
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: 30
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
---
38 changes: 38 additions & 0 deletions docs/content/deploy-apps/deploy applications/index.md
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
type: docs
title: "Deploy applications"
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
linkTitle: "Deploy applications"
description: "Learn how to deploy a Radius application"
weight: 200
categories: "Overview"
tags: ["deployments"]
---

## Deploying applications
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

Once you have authored an application, you can deploy it to an environment via rad CLI using the [`rad deploy`]({{< ref rad_deploy>}})
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

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

## Deploying applications with parameters

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

## Running an application locally
Reshrahim marked this conversation as resolved.
Show resolved Hide resolved

You can run an application locally using the `rad run` command.

```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
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
Loading