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

Error when setting up API server for local development #164

Open
ameyagodbole opened this issue Feb 16, 2023 · 0 comments
Open

Error when setting up API server for local development #164

ameyagodbole opened this issue Feb 16, 2023 · 0 comments

Comments

@ameyagodbole
Copy link

ameyagodbole commented Feb 16, 2023

I wanted to raise an issue about errors when doing a fresh installation of the repository.

At this step in the start.md setup instructions, when running python install.py several issues arise.

  1. api/common/config.py already exists, so the script never asks for the DB information and paths i.e. this point in the code is never reached
    • I got around this by explicitly setting the values in api/common/config.py
  2. api/common/config.py and evaluation/eval_config.py expects several environment variables (such as AWS credentials) to be set. This is a very strong requirement for a fresh install
    • I have temporarily bypassed this by changing all dictionary look-ups [] to .get() operations in those files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant