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

Made port used for devserver configurable #1148

Merged
merged 2 commits into from
Dec 20, 2018

Conversation

jokimina
Copy link
Contributor

@jokimina jokimina commented Dec 19, 2018

When I was developing, I found that misago's ports were hardcoded and conflicted with existing ports
So do these changes, allowing from environment variables PORT_DJANGO define the actual exposed port. If there is no defined PORT_DJANGO, port is the default value of 8000

@rafalp
Copy link
Owner

rafalp commented Dec 19, 2018

Thank you for PR. Could you provide a description informing what this PR adds to the project?

@jokimina
Copy link
Contributor Author

Sorry about that. Here's the description
When I was developing, I found that misago's ports were hardcoded and conflicted with existing ports
So do these changes, allowing from environment variables PORT_DJANGO define the actual exposed port. If there is no defined PORT_DJANGO, port is the default value of 8000

@rafalp rafalp changed the title Update ./dev && docker-compose.yaml compat port_django from envirment variable PORT_DJANGO Made port used for devserver configurable Dec 20, 2018
@rafalp
Copy link
Owner

rafalp commented Dec 20, 2018

Could you please rename this env variable to MISAGO_DEVSERVER_PORT?

@jokimina
Copy link
Contributor Author

Sure.
Please check the latest submission。

@rafalp
Copy link
Owner

rafalp commented Dec 20, 2018

Thank you, I'll merge when travis returns green light 👍

@rafalp rafalp merged commit 4e95b22 into rafalp:master Dec 20, 2018
@jokimina jokimina deleted the port_django_from_env branch December 20, 2018 02:21
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

Successfully merging this pull request may close these issues.

2 participants