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

fix: Improve developer experience #344

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

mgax
Copy link
Contributor

@mgax mgax commented Nov 24, 2023

  • Alow for more flexibility in database dump filenames
  • Fix indentation in the README Markdown
  • Use Django's runserver instead of gunicorn
  • Allow changing the port exposed by Docker
  • Specify the Node version in .nvmrc that matches the frontend Dockerfile

- Alow for more flexibility in database dump filenames
- Fix indentation in the README Markdown
- Use Django's `runserver` instead of gunicorn
- Allow changing the port exposed by Docker
- Specify the Node version in `.nvmrc` that matches the frontend
  Dockerfile
exec /usr/local/bin/gunicorn --config /app/docker/gunicorn.py --reload ietf.wsgi
exec ./manage.py runserver 0:8000
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, running the dev server with gunicorn leads to the server hanging for a few seconds every few requests. Django's native development server doesn't have this problem. It seems they both achieve the same result so I suggest we use Django's.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't object to running runserver, but I am very uncomfortable walking away from a gunicorn problem here because we don't understand it. How do we know we won't have that problem in production?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point. I've undone the change until I can narrow down what's causing the issue.

@mgax mgax marked this pull request as ready for review November 27, 2023 11:14
@kesara kesara merged commit 5ae412c into ietf-tools:main Nov 27, 2023
5 checks passed
@mgax mgax deleted the improve-dev-experience branch December 4, 2023 12:06
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.

3 participants