Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine the setup instructions #1

Open
bengolder opened this issue Mar 3, 2016 · 9 comments
Open

Refine the setup instructions #1

bengolder opened this issue Mar 3, 2016 · 9 comments

Comments

@bengolder
Copy link
Contributor

What are the basic assumptions?

  • you are using unix command line
  • you need some package manager to install command line tools, like homebrew
  • you know know how to use command line
  • you have basic command line build utilities
  • don't forget git clone instructions
  • need python3.4 or above
  • (bad) need to install postgresql
  • you have git installed
  • have a virtual environment setup
  • activate it
@bengolder
Copy link
Contributor Author

The instructions for virtual environments are insufficient. It does not do a good job of covering conflicting versions fo python and versions of pip and virtualenv.
add the instructions for Python 3

@gauravmk
Copy link
Collaborator

gauravmk commented Mar 3, 2016

You get an ImportError if you try running unless the root directory is part of you PYTHONPATH

@marata29
Copy link

marata29 commented Mar 3, 2016

typed gcc had to install command line tools

@bengolder
Copy link
Contributor Author

howto instructions don't give any sense of time estimates

@gauravmk
Copy link
Collaborator

gauravmk commented Mar 3, 2016

run with honcho and add a .env file

@marata29
Copy link

marata29 commented Mar 3, 2016

 Error: pg_config executable not found.

    Please add the directory containing pg_config to the PATH
    or specify the full executable path with the option:

        python setup.py build_ext --pg-config /path/to/pg_config build ...

    or with the pg_config option in 'setup.cfg'.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/dq/sld4khqn4x9852sg77d43z680000gn/T/pip-build-62s0lrzz/psycopg2

@bhoeting
Copy link
Contributor

bhoeting commented Mar 3, 2016

The instructions don't include anything about the virtualenv. All that's required to get it working is

cd pdfhook
pyenv-3.5 .
source bin/activate

I'm not sure how pyvenv-3.5 got installed. Does it ship with brew install python3?

@bengolder
Copy link
Contributor Author

@bhoeting that's likely. Alternatively, we can use

python3.5 -m venv .

to replace pyenv-3.5 ., and it might work more reliably because it only needs python3.5 to be available on PATH. Docs for venv are here: https://docs.python.org/3/library/venv.html

@bengolder
Copy link
Contributor Author

Saying to install python3 and then later using the python3.5 binary is confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants