-
Notifications
You must be signed in to change notification settings - Fork 107
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
Homepage installation script one-liner #139
Comments
I am a huge fan of having GH releases that offer a static compiled binary. Then we dont have to tell users to curl scripts into their shell, but can still offer a really fast self-serve experience. |
Can I ask when we stopped providing the full images and why? |
Part of improving the first touch experience. (See #137)
The NGINX Unit home page should prominently feature an easy way to get started with Unit.
Summary: we need a script that installs a CLI to control Unit and Unit itself. Our current scripts and guides are not suited to a one-liner.
Inspiration
rustup.rs offers a particularly spartan way to get going.
Several ideas have been floated so far in private discussions in Unit team as to the best way to go from zero to serving requests with Unit.
Docker
Many production deployments of Unit use Docker, and it also happens to be a relatively simple way to get Unit onto developers' computers. We already have a fairly in-depth guide to running Unit in Docker, but it's not simple enough as is to be put on the home page as a one liner.
Current friction points when running Unit inside of Docker:
unitc
handles this problem in a clever way-full
images to get around this.What this could look like today
Questions:
curl ... | sh
one-liner? Is that helpful?Personally, I don't think the above image presents a great first touch experience, and I'd be thrown off if all that happened from a shell piped script.
Local install
These options could be displayed intelligently on the home page by reading the client user agent.
On macOS with Homebrew, we already have a very good one-liner:
On Linux (including WSL), we have our existing
setup-unit
script:What's missing is a reasonable way to run something in Unit quickly.
Proposed Solution
What this script should do is out of scope for this issue. See (todo: link to CLI issue)
The text was updated successfully, but these errors were encountered: