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

update readme to add local dev postgres environment instruction #1489

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

uwaiszaki
Copy link
Contributor

Update readme for the fix of #1479.

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')`
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@pantierra
Copy link
Contributor

This should be moved to docs/setup-development.md.

@JorgeMartinezG
Copy link
Contributor

JorgeMartinezG commented May 13, 2019

@uwaiszaki could you please include `POSTGRES_PORT variable also?

@uwaiszaki uwaiszaki reopened this Jun 10, 2019
@uwaiszaki
Copy link
Contributor Author

@xamanu @JorgeMartinezG I have updated the pr, please give your reviews. Thanks

@pantierra pantierra merged commit a5f6961 into hotosm:develop Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants