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

add build and getting started docs to readme #37

Merged
6 commits merged into from
Apr 9, 2020
Merged

Conversation

analogrelay
Copy link
Contributor

I also flattened the extra newlines in the first paragraph.

README.md Outdated
1. For CMD, there is no supported script. You can manually add the `.dotnet` directory **within this repo** to your `PATH`. Ensure `where dotnet` shows a path within this repository!
1. Launch VS, VS for Mac, or VS Code!

As a short-cut, you can also just run the `startvs.cmd` script to launch Visual Studio on Windows. There's no need to use the `activate` script in that case.
Copy link
Member

Choose a reason for hiding this comment

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

Why not lead with startvs.cmd?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess I wanted to give the details first? But sure, I'll reorder.

README.md Outdated

# Getting started

Coming Soon
Take a look at the [Sample App](samples/ReverseProxy.Sample), which configures a proxy to route traffic on all paths to a single backend server (the example backend server is [provided as well](samples/SampleServer)). We'll be publishing more docs and tutorials as the project develops!
Copy link
Member

Choose a reason for hiding this comment

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

Might want to be less specific here, this sample is going to churn.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I'll just reference the samples exist. We should consider putting a README in that directory and trying to keep it somewhat up to date as we churn.

README.md Outdated Show resolved Hide resolved
README.md Outdated
1. "Dot-source" the `activate` script to put the local .NET SDK on the PATH
1. For PowerShell, run: `. .\activate.ps1` (note the leading `. `, it is required!)
1. For Linux/macOS/WSL, run: `. .\activate.sh`
1. For CMD, there is no supported script. You can manually add the `.dotnet` directory **within this repo** to your `PATH`. Ensure `where dotnet` shows a path within this repository!
Copy link
Member

Choose a reason for hiding this comment

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

Low Pri: We could do something like the old VS Command Line feature that gives you a shell window with the right paths and other environment vars set up?

Copy link
Member

Choose a reason for hiding this comment

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

Cancel that, the startVS is better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, and . .\activate.ps1 basically turns your current PowerShell into an equivalent to the VS Command Line (it puts the right dotnet.exe on your PATH). With the added benefit that there's a deactivate function to turn it off again.

README.md Outdated Show resolved Hide resolved
README.md Outdated
There is some debate whether YARP stands for "Yet Another Reverse Proxy", or "YARP a Reverse Proxy", but either way it's a project to create a reverse proxy server. You may ask whether the world needs another
reverse proxy, but we found a bunch of internal teams at Microsoft who were either building one for their service
or had been asking about APIs and tech for building one, so we decided to get them all together to work on a common solution, this project.
There is some debate whether YARP stands for "Yet Another Reverse Proxy", or "YARP a Reverse Proxy", but either way it's a project to create a reverse proxy server. You may ask whether the world needs another reverse proxy, but we found a bunch of internal teams at Microsoft who were either building one for their service or had been asking about APIs and tech for building one, so we decided to get them all together to work on a common solution, this project.
Copy link
Member

@stephentoub stephentoub Apr 8, 2020

Choose a reason for hiding this comment

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

There is some debate whether YARP stands for "Yet Another Reverse Proxy", or "YARP a Reverse Proxy"

I left feedback in the OneNote draft of this, but I think this intro should change. We should just state which it means (and "Yet Another Reverse Proxy" feels a bit self-deprecating to me).

Copy link
Contributor Author

@analogrelay analogrelay Apr 8, 2020

Choose a reason for hiding this comment

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

I'm open to changing it, but would appreciate @samsp-msft's feedback.

"Yet Another Reverse Proxy" feels a bit self-deprecating to me

Agreed. That's the main reason reason I prefer "YARP: A Reverse Proxy" as the expansion 😆. Judicious use of self-deprecation can be good, but coming out of the gate saying "Hey, we're just another reverse proxy" gives off a "you can just ignore this" and Not-Invented-Here vibe to me.

Copy link
Member

Choose a reason for hiding this comment

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

Its a long running trend to do YAxx when you are producing an unoriginal concept - https://en.wikipedia.org/wiki/Yet_another. Given we have some catching up to do, I think its applicable.

Copy link
Member

Choose a reason for hiding this comment

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

So our reverse proxy is "confessedly unoriginal"? Why are we doing it then?

@analogrelay
Copy link
Contributor Author

Last call, going to rebase/resolve conflicts and merge after we get the build.

@analogrelay analogrelay force-pushed the anurse/readme-updates branch from aba21e0 to a0e8c49 Compare April 9, 2020 18:51
@analogrelay analogrelay added the Auto-Merge Apply this label and the msftbot will auto-merge this PR when it is eligible for merge label Apr 9, 2020
@ghost
Copy link

ghost commented Apr 9, 2020

Hello @anurse!

Because this pull request has the Auto-Merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit bc92983 into master Apr 9, 2020
@ghost ghost deleted the anurse/readme-updates branch April 9, 2020 19:21
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Merge Apply this label and the msftbot will auto-merge this PR when it is eligible for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants