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

Update getting started docs #3871

Merged
merged 6 commits into from
May 2, 2018
Merged

Update getting started docs #3871

merged 6 commits into from
May 2, 2018

Conversation

di
Copy link
Member

@di di commented May 1, 2018

This fixes some of the issues listed at https://public.etherpad-mozilla.org/p/issues-from-sprint, namely:

  • Removes the quickstart section, which can be confusing
  • Adds a way for the developer to check if necessary ports are in use
  • Adds some more details about what to expect from the make serve command
  • Adds some more details about when to run the make initdb command
  • Add some clarification about how to determine if things are up and running

Closes #2673, closes #3861.

@di di requested a review from brainwane May 1, 2018 20:44
Copy link
Contributor

@brainwane brainwane left a comment

Choose a reason for hiding this comment

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

Mostly good! A few criticisms.


Warehouse needs access to a few local ports in order to run, namely ports
``80``, ``5433``, and ``9000``. You can check if a port is in use by running
the following command (in this example, checking port ``80``:
Copy link
Contributor

Choose a reason for hiding this comment

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

You have a missing ) here.

the web container is listening on port 80. It's accessible at
``http://localhost:80/``.
This means that all the services are up, and web container is listening on port
80. It's accessible at ``http://localhost:80/``.
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest we make http://localhost:80/ a clickable link.


If the port is in use, the command will produce output, and you will need to
determine what is occupying the port and shut down the service. Otherwise, the
port is available for Warehouse to use, and you can continue.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think either this should be in the troubleshooting section, or we should phrase this instruction more imperatively:

Check each of those three port numbers with lsof.

@di
Copy link
Member Author

di commented May 1, 2018

@brainwane Addressed your feedback.

Copy link
Contributor

@brainwane brainwane left a comment

Choose a reason for hiding this comment

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

Thank you!

@di di merged commit 091ba70 into pypi:master May 2, 2018
@di di deleted the update-getting-started-docs branch November 27, 2018 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants