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

incorrect setup instructions #23

Open
fisher60 opened this issue Sep 30, 2020 · 9 comments
Open

incorrect setup instructions #23

fisher60 opened this issue Sep 30, 2020 · 9 comments
Labels
bug Something isn't working

Comments

@fisher60
Copy link

I was attempting to set up a dev environment for windows and your setup instructions appear to recommend global installs. Would you be interested in using pipenv for this project? I would happily set that up.

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Sep 30, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.60. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@fisher60
Copy link
Author

Error: pg_config executable not found.

    pg_config is required to build psycopg2 from source.  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'.

@akshatvg
Copy link
Member

akshatvg commented Oct 1, 2020

@fisher60 do you have PostgresSQL installed?

@fisher60
Copy link
Author

fisher60 commented Oct 2, 2020

No, I did not see that as a project requirement.

@akshatvg
Copy link
Member

akshatvg commented Oct 2, 2020

Good catch once again. You can add it during your PR.

@fisher60
Copy link
Author

fisher60 commented Oct 5, 2020

I will be adding docker to streamline the dev setup, if that is alright with you all. This would make it much easier setup, especially on windows (considering a DB is required). I should have this setup pretty quickly, but please let me know if you would not like to use docker.

Edit: I will be adding a dev environment to docker, is what I meant to say.

@fisher60
Copy link
Author

fisher60 commented Oct 5, 2020

An update: I have searched for a few hours now and I am unable to get this work. I am now in a docker container with postgresql and pyscopg2 does not work. Any help would be appreciated here, I am not sure what the issue is or how this project is supposed to run. I have essentially cloned a docker setup that I already have that uses psycopg2 and posrgress.

It also appears that sqlite3 is the only db being used as per the settings.py file. So I am unsure why this is required.

@akshatvg
Copy link
Member

akshatvg commented Oct 6, 2020

@fisher60,

The psycopg2 package broke in the latest release and the maintainer archived the repo.

Please run this specific install instruction: pip3 install psycopg2==2.7.5 to install psycopg2. If you would like use another PostgreSQL DB Adapter feel free to.

@fisher60
Copy link
Author

fisher60 commented Oct 6, 2020

hmmm, I am installing from requirements.txt, which specifies that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants