Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.26 KB

installation.rst

File metadata and controls

56 lines (39 loc) · 1.26 KB

User Setup

We recommend that you install pulpcore and pulp-python together using the Ansible installer.

Pip Install

This document assumes that you have installed pulpcore into a the virtual environment pulpvenv.

Users should install from either PyPI or source.

From PyPI

sudo -u pulp -i
source ~/pulpvenv/bin/activate
pip install pulp-python

From Source

sudo -u pulp -i
source ~/pulpvenv/bin/activate
git clone https://github.com/pulp/pulp_python.git
cd pulp_python
pip install -e .

Make and Run Migrations

pulp-manager makemigrations python
pulp-manager migrate python

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