Story #3071
closedAs a Pulp user, I have instructions on how to install Pulp 3 from source
100%
Description
The docs already contain a 'Source Installation' heading[0], but the instructions are missing. The source installation instructions should include two types of source installations.
One option is cloning and running setup.py's
Explain that the Pulp repo needs to be cloned
create and activate a virtualenv
Installing pulpcore via `setup.py develop`
Installing pulpcore-plugin via `setup.py develop`
The other option should cover just installing both pulpcore and pulpcore-plugin straight from github (see comment 2).
Once installed it can refer the user to the other existing documentation which covers:
making migrations
migrating the database
starting the webserver
starting workers
[0] http://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#source-installation
Updated by bmbouter about 7 years ago
Strangely I cannot figure out how to install from source from github. I was trying:
python3 -m venv env
source env/bin/activate
pip install -e git+https://github.com/pulp/pulp.git@3.0-dev#egg=pulpcore&subdirectory=platform
I get this error when I run that:
(env) [bmbouter@localhost Downloads]$ pip install -e git+https://github.com/pulp/pulp.git@3.0-dev#egg=pulpcore&subdirectory=platform
[3] 31660
(env) [bmbouter@localhost Downloads]$ Obtaining pulpcore from git+https://github.com/pulp/pulp.git@3.0-dev#egg=pulpcore
Cloning https://github.com/pulp/pulp.git (to 3.0-dev) to ./env/src/pulpcore
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python3.6/tokenize.py", line 452, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/home/bmbouter/Downloads/env/src/pulpcore/setup.py'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /home/bmbouter/Downloads/env/src/pulpcore/
I was following these directions
Updated by bmbouter about 7 years ago
With some help from @asmacdo I was able to get this working:
python3 -m venv env
source env/bin/activate
pip3 install -e "git+https://github.com/pulp/pulp.git@3.0-dev#egg=pulpcore&subdirectory=platform"
I was also able to install pulpcore-plugin as well with this:
pip3 install -e "git+https://github.com/pulp/pulp.git@3.0-dev#egg=pulpcore-plugin&subdirectory=plugin"
Updated by bmbouter about 7 years ago
- Tracker changed from Issue to Story
- Description updated (diff)
- % Done set to 0
- Sprint Candidate changed from No to Yes
- Tags Documentation added
Added by werwty about 7 years ago
Added by werwty about 7 years ago
Revision 69471ffc | View on GitHub
Add Pulp3 source install instructions
Update all install instructions to use venv (instead of virtualenv) for consistency
Updated by bizhang about 7 years ago
- Status changed from NEW to POST
- Assignee set to bizhang
Updated by werwty about 7 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|69471ffc61840ce4dafd8f72ca8b470c5d1cb7df.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Add Pulp3 source install instructions
Update all install instructions to use venv (instead of virtualenv) for consistency
closes #3071 https://pulp.plan.io/issues/3071