We recommend that you install pulpcore and pulp-python together using the Ansible installer.
This document assumes that you have installed pulpcore into a the virtual environment pulpvenv
.
Users should install from either PyPI or source.
sudo -u pulp -i
source ~/pulpvenv/bin/activate
pip install pulp-python
sudo -u pulp -i
source ~/pulpvenv/bin/activate
git clone https://github.com/pulp/pulp_python.git
cd pulp_python
pip install -e .
pulp-manager makemigrations python
pulp-manager migrate python
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