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

waitress-serve: add page #2451

Merged
merged 3 commits into from
Oct 16, 2018
Merged

waitress-serve: add page #2451

merged 3 commits into from
Oct 16, 2018

Conversation

MasterOdin
Copy link
Collaborator

Page for waitress's CLI tool waitress-serve.


  • The page (if new), does not already exist in the repo.

  • The page (if new), has been added to the correct platform folder:
    common/ if it's common to all platforms, linux/ if it's Linux-specific, and so on.

  • The page has 8 or fewer examples.

  • The PR is appropriately titled:
    <command name>: add page for new pages, or <command name>: <description of changes> for pages being edited.

  • The page follows the contributing guidelines.

@tldr-bot
Copy link

The build for this PR has failed with the following error(s):

pages/common/waitress-serve.md:3: TLDR004 Command descriptions should end in a period

Please fix the error(s) and push again.


> Pure Python WSGI HTTP Server.

- Run Python web app:
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps Run a Python.... would read better?

Copy link
Member

@sbrl sbrl left a comment

Choose a reason for hiding this comment

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

Thanks for the new page, @MasterOdin! I've left some comments below for you to review.


`waitress-serve --listen={{localhost}}:{{8080}} {{import.path:wsgi_func}}`

- Start waitress on Unix socket:
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps ...on a Unix domain socket would read better?


`waitress-serve --call {{import.path.wsgi_factory}}`

- Set URL scheme to https:
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps Set the URL scheme.... would read better?

@owenvoke owenvoke added the new command Issues requesting creation of a new page or PRs adding a new page for a command. label Oct 16, 2018
Copy link
Member

@sbrl sbrl left a comment

Choose a reason for hiding this comment

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

Thanks, @MasterOdin 😺

@sbrl sbrl merged commit 9ef7ec1 into tldr-pages:master Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Issues requesting creation of a new page or PRs adding a new page for a command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants