Project

Profile

Help

Story #3071

As a Pulp user, I have instructions on how to install Pulp 3 from source

Added by dkliban@redhat.com about 2 years ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Documentation
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 27

Description

The docs already contain a 'Source Installation' heading0, 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

Associated revisions

Revision 69471ffc View on GitHub
Added by werwty almost 2 years ago

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

Revision 69471ffc View on GitHub
Added by werwty almost 2 years ago

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

Revision 69471ffc View on GitHub
Added by werwty almost 2 years ago

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

History

#1 Updated by bmbouter about 2 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

#2 Updated by bmbouter about 2 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" 

#3 Updated by bmbouter about 2 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

#4 Updated by dkliban@redhat.com about 2 years ago

  • Groomed changed from No to Yes

#5 Updated by jortel@redhat.com about 2 years ago

  • Sprint/Milestone set to 46

#6 Updated by bizhang almost 2 years ago

  • Status changed from NEW to POST
  • Assignee set to bizhang

#7 Updated by werwty almost 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#8 Updated by bmbouter over 1 year ago

  • Sprint set to Sprint 27

#9 Updated by bmbouter over 1 year ago

  • Sprint/Milestone deleted (46)

#10 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#11 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF