Use the --install option instead of sudo. #1072

Merged
merged 1 commit into from Jan 5, 2016

Projects

None yet

3 participants

@berkerpeksag
Collaborator

No description provided.

@tilgovi
Collaborator
tilgovi commented Jul 8, 2015

How reliably is the --user install bin going to be in the user's path?

@benoitc
Owner
benoitc commented Jul 8, 2015

I have no ideas on what is doing this command, so I will trust you about it :)

@berkerpeksag
Collaborator

How reliably is the --user install bin going to be in the user's path?

No idea, but it's better than sudo anyway :)

@berkerpeksag
Collaborator

Actually, we can just remove virtualenv lines.

$ pip install gunicorn
$ cat myapp.py
   def app(environ, start_response):
       data = b"Hello, World!\n"
       start_response("200 OK", [
           ("Content-Type", "text/plain"),
           ("Content-Length", str(len(data)))
       ])
       return iter([data])
$ gunicorn -w 4 myapp:app

looks simpler to me.

@benoitc
Owner
benoitc commented Jul 8, 2015

+1

On Wed, Jul 8, 2015 at 7:51 PM Berker Peksag notifications@github.com
wrote:

Actually, we can just remove virtualenv lines.

$ pip install gunicorn
$ cat myapp.py
def app(environ, start_response):
data = b"Hello, World!\n"
start_response("200 OK", [
("Content-Type", "text/plain"),
("Content-Length", str(len(data)))
])
return iter([data])
$ gunicorn -w 4 myapp:app

looks simpler to me.


Reply to this email directly or view it on GitHub
#1072 (comment).

@tilgovi
Collaborator
tilgovi commented Jul 8, 2015

Sounds good to me. Virtualenv is the user's choice. We can add a note about virtualenv generally, pointing to a tutorial, if we want to.

@benoitc
Owner
benoitc commented Jul 15, 2015

@berkerpeksag so let's go with out sudo then :)

@benoitc
Owner
benoitc commented Dec 23, 2015

bump.

@tilgovi
Collaborator
tilgovi commented Dec 26, 2015

👍 to removing virtualenv from the instructions.

@berkerpeksag
Collaborator

I will update this today, thanks for the reviews!

@berkerpeksag berkerpeksag Simplify installation instructions in gunicorn.org
3ccdafb
@berkerpeksag berkerpeksag merged commit 3ccdafb into benoitc:master Jan 5, 2016

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@berkerpeksag berkerpeksag deleted the berkerpeksag:pip-user branch Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment