-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[📖] Provide a general deployment page for self-hosters #5412
Comments
I created a Discord thread for qwik discussions: |
Thank you so much for pointing this out. I was struggling to understand why my client side routing was broken. Everything else worked fine, no errors in console or Network tab. Here's my POC: https://github.com/ptz0n/qwik-cloudfront-s3-lambda-url |
One more point would be, what to put into a docker. Currently it seems, as if you need to put node_modules into the docker, too, which is not obvious and very inefficient. But I have not dockerized any other Vite-based SSR projects yet, so that might be normal. Because I like it tidy, I would prefer a solution, where I can get a tree-shaken version for the server, too. Right now, I am uploading a 350MB docker to my server, where the biggest memory-hogs are @qwikest/icons (55MB), where I use 5 icons and typescript (40MB), which should not be required at runtime at all followed by other dependencies like prettier (9MB), esbuild (9MB), ... |
This cookbook described a |
I like your cookbook and I saw, that the ORIGIN has made it into it and also into the deployment docs for node. I still think the minification should still get a mention somewhere, because it is not really clear from the docs, how Qwik uses inline comments for its implementation. And when you integrate it into your CI/CD this might be an important detail. For Cloudflare it might be less interesting now, as they changed the default setting to not minify anymore. |
would you like to improve that page with your suggestions? It will be great. Thanks |
I had seen issue since long and was working on it for some time and thought of sharing my work as it is completed now.So I, Video for reference :- 2025-03-25.01-49-47.mp4Give conformation to make an PR for this. |
Suggestion
I think there are some common issues, that new users are facing, when trying to deploy a Qwik app to their own infrastructure independent of using Node, Deno or Bun. Hence, I want to suggest to merge those deployment pages together, remove the sentence "Since you are choosing [Node|Deno|Bun], here you are in your own..." and try to collect the common issues, that usually do not result from the server technology but from the hosting infrastructure.
For me it was:
I would love to use this issue for a discussion, potentially collecting more issues encountered by others and when considered good, I would create a PR for the docs pages.
The text was updated successfully, but these errors were encountered: