Installation

All REST API examples below use httpie to perform the requests. The httpie commands below assume that the user executing the commands has a .netrc file in the home directory. The .netrc should have the following configuration:

machine localhost
login admin
password admin

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 httpie documentation on how to do that.

Install pulpcore

Please see the pulpcore installation instructions.

Install pulp_deb Plugin

This document assumes that you have used the pulpcore installation to install pulpcore into a the virtual environment pulpvenv.

Users should install from either PyPI or source.

From Source

sudo -u pulp -i
source ~/pulpvenv/bin/activate
cd pulp_deb
pip install -e .
django-admin runserver 24817

Make and Run Migrations

pulp-manager makemigrations pulp_deb
pulp-manager migrate pulp_deb

Run Services

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