Project

Profile

Help

Story #3071

closed

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

Added by dkliban@redhat.com about 7 years ago. Updated about 4 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Documentation
Sprint:
Sprint 27
Quarter:

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

Actions #1

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

Actions #2

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"
Actions #3

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
Actions #4

Updated by dkliban@redhat.com about 7 years ago

  • Groomed changed from No to Yes
Actions #5

Updated by jortel@redhat.com about 7 years ago

  • Sprint/Milestone set to 46

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

closes #3071 https://pulp.plan.io/issues/3071

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

closes #3071 https://pulp.plan.io/issues/3071

Actions #6

Updated by bizhang about 7 years ago

  • Status changed from NEW to POST
  • Assignee set to bizhang
Actions #7

Updated by werwty about 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #8

Updated by bmbouter almost 7 years ago

  • Sprint set to Sprint 27
Actions #9

Updated by bmbouter almost 7 years ago

  • Sprint/Milestone deleted (46)
Actions #10

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #11

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #12

Updated by bmbouter about 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF