-
Notifications
You must be signed in to change notification settings - Fork 15
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
Nitpicks on the staging docs #220
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,34 @@ | ||
# User Setup | ||
|
||
All workflow examples use the Pulp CLI. Install and setup from PyPI: | ||
### Server Installation | ||
|
||
```bash | ||
pip install pulp-cli[pygments] pulp-cli-gem | ||
pulp config create -e | ||
pulp status # Check that CLI can talk to Pulp | ||
``` | ||
Follow the [Installation Quickstart](site:pulp-oci-images/docs/admin/tutorials/quickstart.md) instructions to get started with Pulp. | ||
Further details are discussed in the [pulpcore documentation](https://docs.pulpproject.org/pulpcore/installation/instructions.html). | ||
|
||
If you configured the `admin` user with a different password, adjust the configuration | ||
accordingly. If you prefer to specify the username and password with each request, please see | ||
`Pulp CLI` documentation on how to do that. | ||
### CLI Installation | ||
|
||
### Install | ||
All workflow examples use the [Pulp CLI](https://docs.pulpproject.org/pulp_cli/). | ||
Install and setup from PyPI: | ||
|
||
=== "Containerized Installation" | ||
|
||
Follow the [Pulp in One Container](https://pulpproject.org/pulp-in-one-container/) instructions to get started with Pulp by | ||
leveraging OCI images. Further details are discussed in the [pulpcore documentation](https://docs.pulpproject.org/pulpcore/installation/instructions.html). | ||
|
||
=== "From Source" | ||
=== "pip" | ||
|
||
```bash | ||
sudo -u pulp -i | ||
source ~/pulp/bin/activate | ||
cd pulp_gem | ||
pip install -e . | ||
django-admin runserver 24817 | ||
pip install pulp-cli[pygments] pulp-cli-gem | ||
|
||
pulp config create -e | ||
pulp status # Check that CLI can talk to Pulp | ||
``` | ||
|
||
### Make and Run Migrations | ||
=== "pipx" | ||
|
||
```bash | ||
pulp-manager makemigrations pulp_gem | ||
pulp-manager migrate pulp_gem | ||
``` | ||
```bash | ||
pipx install pulp-cli[pygments] | ||
pipx inject pulp-cli pulp-cli-gem | ||
|
||
### Run Services | ||
pulp config create -e | ||
pulp status # Check that CLI can talk to Pulp | ||
``` | ||
|
||
```bash | ||
pulp-manager runserver | ||
gunicorn pulpcore.content:server --bind 'localhost:24816' --worker-class 'aiohttp.GunicornWebWorker' -w 2 | ||
sudo systemctl restart pulpcore-resource-manager | ||
sudo systemctl restart pulpcore-worker@1 | ||
sudo systemctl restart pulpcore-worker@2 | ||
``` | ||
If you configured the `admin` user with a different password, adjust the configuration accordingly. | ||
If you prefer to specify the `username` and `password` with each request, | ||
please see [`Pulp CLI` documentation](https://docs.pulpproject.org/pulp_cli/configuration/) on how to do that. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've discussed about using
oci-images
as the main source of installation info.So I think it is enough to provide their quickstart, which is already in the staging-site here.
To add an internal link for
https://staging-docs.pulpproject.org/pulp-oci-images/docs/admin/tutorials/quickstart/
you should use a pattern of[name](site:url-path.md)
: