All REST API examples below use httpie to perform the requests.
httpie commands below assume that the user executing the commands has a
.netrc file in the home directory.
.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.
This document assumes that you have used the pulpcore installation to install pulpcore into a the virtual environment
Users should install from either PyPI or 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
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