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

Add a development webserver #57

Closed
6 of 8 tasks
pydsigner opened this issue Nov 9, 2023 · 1 comment · Fixed by #79
Closed
6 of 8 tasks

Add a development webserver #57

pydsigner opened this issue Nov 9, 2023 · 1 comment · Fixed by #79
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@pydsigner
Copy link
Owner

pydsigner commented Nov 9, 2023

Use http.server.ThreadingHTTPServer to offer a built-in webserver so something extra like nginx isn't needed for testing.

  • Directly runnable server with configurable directory and port
  • Automatic index support
  • Automatic mime type detection
  • Option to run from anchovy cli post-build
  • Automatically detect root directory from anchovy settings
  • Etag support
  • Some sort of way to configure port through anchovy config file?
  • Add some tests
@pydsigner pydsigner added the enhancement New feature or request label Nov 9, 2023
@pydsigner pydsigner added this to the 1.0.0 milestone Nov 9, 2023
@pydsigner pydsigner self-assigned this Nov 9, 2023
pydsigner added a commit that referenced this issue Nov 22, 2023
@pydsigner pydsigner linked a pull request Nov 22, 2023 that will close this issue
pydsigner added a commit that referenced this issue Dec 19, 2023
@pydsigner
Copy link
Owner Author

Port configuration is deferred to #80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant