Skip to content

Commit

Permalink
Very small updates to Getting Started (#1015)
Browse files Browse the repository at this point in the history
* Update index.md

small updates for clarity

Signed-off-by: Omer Bensaadon <[email protected]>

* Update docs/content/getting-started/index.md

Co-authored-by: Aaron Crawfis <[email protected]>
Signed-off-by: Omer Bensaadon <[email protected]>

* Update docs/content/getting-started/index.md

Co-authored-by: Aaron Crawfis <[email protected]>
Signed-off-by: Omer Bensaadon <[email protected]>

* Update docs/content/getting-started/index.md

Co-authored-by: Aaron Crawfis <[email protected]>
Signed-off-by: Omer Bensaadon <[email protected]>

* Update docs/content/getting-started/index.md

Signed-off-by: Omer Bensaadon <[email protected]>

---------

Signed-off-by: Omer Bensaadon <[email protected]>
Co-authored-by: Aaron Crawfis <[email protected]>
  • Loading branch information
omerbensaadon and AaronCrawfis authored Jan 4, 2024
1 parent ee109e5 commit cce5ecf
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions docs/content/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ In addition to starting Radius services in your Kubernetes cluster, this initial
## 4. Run the app

Use the below command to run the app in your environment, then access the application by opening [http://localhost:3000](http://localhost:3000) in a browser.
Use the below command to run the app in your environment:

```bash
rad run app.bicep
Expand All @@ -89,25 +89,21 @@ This command:
- Creates a port-forward from localhost to port 3000 inside the container so you can navigate to the app's frontend UI
- Streams container logs to your terminal

In your browser you should see the demo app:
Once the sample application is running, you can access it by opening [http://localhost:3000](http://localhost:3000) in a browser:

{{< image src="demo-screenshot.png" alt="Screenshot of the demo container" width=600px >}}
<br /><br />

Congrats! You're running your first Radius app. When you're ready to move on to the next step, use <kbd>CTRL</kbd>+ <kbd>C</kbd> to exit the command.
Congrats, you're running your first Radius app! When you're ready to move on to the next step, use <kbd>CTRL</kbd>+ <kbd>C</kbd> to terminate the application.

## 5. Add Database

This step will add a database (Redis Cache) to the application.
In this step you will add a database (Redis Cache) to the application by:

You can create a Redis Cache using [Recipes]({{< ref "guides/recipes/overview" >}}) provided by Radius. The Radius community provides Recipes for running commonly used application dependencies, including Redis.
- Adding a Redis Cache using a [Radius Recipe]({{< ref "guides/recipes/overview" >}}).
- Adding a connection from the `demo` container to the Redis cache, which automatically sets environment variables with connection information.

In this step you will:

- Add Redis to the application using a Recipe.
- Connect to Redis from the `demo` container using environment variables that Radius automatically sets.

Open `app.bicep` in your editor and get ready to edit the file.
Begin by opening `app.bicep` in your editor and get ready to edit the file.

First add some new code to `app.bicep` by pasting in the content below at the end of the file. This code creates a Redis Cache using a Radius Recipe:

Expand Down

0 comments on commit cce5ecf

Please sign in to comment.