-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
update readme to add local dev postgres environment instruction #1489
Conversation
README.md
Outdated
@@ -121,6 +121,7 @@ The backend server is made up of a postgres database and an associated API that | |||
- `TM_SECRET`=define-freely-any-number-and-letter-combination | |||
- `TM_CONSUMER_KEY`=oauth-consumer-key-from-openstreetmap | |||
- `TM_CONSUMER_SECRET`=oauth-consumer-secret-key-from-openstreetmap | |||
* Adjust server/config.py to set `POSTGRES_ENDPOINT = os.getenv('POSTGRES_ENDPOINT', 'localhost')` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the instructions are not the case for all kind of setups. And I don't want users to encourage changing the config.py
. Woudn't the setup work with a POSTGRES_ENDPOINT=localhost
? And maybe find a phrase to be more open to any kind of setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xamanu I have updated the pr.
76c5fef
to
52f5ba4
Compare
This should be moved to |
@uwaiszaki could you please include `POSTGRES_PORT variable also? |
@xamanu @JorgeMartinezG I have updated the pr, please give your reviews. Thanks |
Update readme for the fix of #1479.