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

Address feedback from Under the Xray session #602

Closed
wants to merge 15 commits into from
Closed

Conversation

Reshrahim
Copy link
Contributor

@Reshrahim Reshrahim commented Jun 2, 2023

Thank you for helping make the Radius documentation better!

Please follow this checklist before submitting:

  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within codetabs
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:

Description

Addresses #586

Auto-generated description

🤖 Generated by Copilot at 7692f3e

Summary

🚀📝🔖

This pull request enhances the getting started documentation for Radius by adding a new option to use Codespaces for launching a containerized environment, and by adding markers to the app-with-redis-snippets.bicep file to facilitate code copying.

If you want to try Radius with ease
You can use Codespaces to launch k3d
Just follow the docs and the pics
And add your database connection tricks
To the app-with-redis-snippets.bicep

Walkthrough

  • Add Codespaces option to launch a pre-configured container with Radius installation on a k3d cluster (link)
  • Adjust instructions and notes for users who choose Codespaces option, such as skipping Radius CLI installation, getting demo app url from ports tab, and using different commands to run the application (link, link, link, link, link)
  • Fix typo and update marker in app-with-redis-snippets.bicep file to point to the entire container definition (link, link, link)
  • Update screenshot of demo container to show connection information for Redis and the TODO List tab (link)

Issue reference

@Reshrahim Reshrahim requested a review from a team as a code owner June 2, 2023 20:18
@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net

2 similar comments
@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented Jun 2, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net

@Reshrahim Reshrahim linked an issue Jun 2, 2023 that may be closed by this pull request
docs/content/getting-started/first-app/_index.md Outdated Show resolved Hide resolved
docs/content/getting-started/first-app/_index.md Outdated Show resolved Hide resolved
@@ -104,7 +120,7 @@ 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

Access the application by opening [http://localhost:3000](http://localhost:3000) in a browser:
Access the application by opening [http://localhost:3000](http://localhost:3000) in a browser. If you are using codespaces, you can get the demo app url from the ports tab in VSCode.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember having trouble looking for the port tab to get the remote localhost url. not sure if there's anything we can do to make this more clear?

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented Jun 8, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net

@Reshrahim Reshrahim changed the base branch from v0.21 to edge June 26, 2023 18:09
@AaronCrawfis AaronCrawfis added the do-not-merge Do not merge this PR label Jun 26, 2023
@github-actions
Copy link

github-actions bot commented Jul 6, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net
Password: Radiu$1234

1 similar comment
@github-actions
Copy link

github-actions bot commented Jul 6, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net
Password: Radiu$1234

@Reshrahim Reshrahim removed the do-not-merge Do not merge this PR label Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net
Password: Radiu$1234

… info before proceeding to copy code or run cmds

Signed-off-by: Will Tsai <[email protected]>
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net
Password: Radiu$1234

willtsai
willtsai previously approved these changes Aug 8, 2023
{{< tabs "Codespaces" "Kubernetes Cluster" >}}

{{% codetab %}}
Use [Codespaces](https://github.com/features/codespaces) to launch a pre-configured container with Radius installation on a k3d cluster
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still don't think we should put Codespaces as the first option. There's a 75% chance a reader will get a "404 not found" error when they click the button, and then when they hit that they'll then need to apply for GitHub access, which may take up to a couple hours. When users drop into the first app experience we don't want them to click a button and then have to wait before they can proceed.

I think we should 100% make it the primary experience once we go public, but we're not ready yet.


{{% codetab %}}

> *If you don't have a preferred way to create Kubernetes clusters, you could try using [k3d](https://k3d.io/), which runs a minimal Kubernetes distribution in Docker.*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this note

@@ -92,7 +108,7 @@ In addition to starting Radius services in your Kubernetes cluster, this initial

## 4. Run the app

Use the `rad run` command to run the app in your environment:
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. If you are using codespaces, you can get the demo app url from the ports tab in VSCode.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we add Codespaces support we should find a better way to handle opening the app instead of saying "from the ports tab".

@github-actions
Copy link

github-actions bot commented Aug 10, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net
Password: Radiu$1234

@Reshrahim Reshrahim changed the base branch from edge to v0.23 August 10, 2023 18:23
@Reshrahim Reshrahim changed the base branch from v0.23 to edge August 10, 2023 18:23
@github-actions
Copy link

github-actions bot commented Aug 10, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-plant-020417a1e-602.westus2.azurestaticapps.net
Password: Radiu$1234

@Reshrahim
Copy link
Contributor Author

Closing this in favor of #680 to merge changes directly to v0.23

@Reshrahim Reshrahim closed this Aug 10, 2023
@Reshrahim Reshrahim deleted the reshma/firstapp branch August 23, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more clear instructions on first-app page
4 participants