Skip to content

Feature/self hosters deployment - #7458

Merged
wmertens merged 45 commits into
QwikDev:mainfrom
iitzIrFan:feature/self-hosters-deployment
Aug 1, 2025
Merged

wmertens merged 45 commits into
QwikDev:mainfrom
iitzIrFan:feature/self-hosters-deployment

Conversation

@iitzIrFan

@iitzIrFan iitzIrFan commented Mar 26, 2025 •

Copy link
Copy Markdown
Contributor

What is it?

Resolves :- #5412

  • Feature / enhancement
  • Docs / tests / types / typos

Description

For a long time this issue was pending and thought of resolving it as per my best.
So I had created a new doc section, where I had mentioned about the following things,

  • Prerequisites,
  • Build options,
  • methods of deployment, server config,
  • CSRF protection guidelines & some practices

Checklist

  • My code follows the developer guidelines of this project
  • I performed a self-review of my own code
  • I added a changeset with pnpm change
  • I made corresponding changes to the Qwik docs
  • I added new tests to cover the fix / functionality

@iitzIrFan
iitzIrFan requested review from a team as code owners March 26, 2025 15:22
@changeset-bot

changeset-bot Bot commented Mar 26, 2025 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e8b830d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Mar 26, 2025

Copy link
Copy Markdown

Open in Stackblitz

npm i https://pkg.pr.new/@builder.io/qwik@7458
npm i https://pkg.pr.new/@builder.io/qwik-city@7458
npm i https://pkg.pr.new/eslint-plugin-qwik@7458
npm i https://pkg.pr.new/create-qwik@7458

commit: 93d66e0

@github-actions

github-actions Bot commented Mar 26, 2025 •

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview e8b830d

@wmertens wmertens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking great! But some comments

Comment thread packages/docs/src/routes/api/qwik/index.md
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx Outdated
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx Outdated
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx Outdated
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx Outdated
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx Outdated
Comment thread packages/docs/src/routes/docs/deployments/self-hosting/index.mdx Outdated
Comment thread packages/docs/package.json
@iitzIrFan
iitzIrFan requested a review from wmertens April 28, 2025 19:54
@iitzIrFan

Copy link
Copy Markdown
Contributor Author

@wmertens Had made changes you can review my pr and update !

@iitzIrFan

Copy link
Copy Markdown
Contributor Author

@wmertens I was wondering how other developers are tackling this issue as I had encountered in development and had to figure out other ways to test before pushing my code 😕Screenshot_2025-04-29-02-56-24-105_com.android.chrome.png

Comment thread packages/docs/src/routes/api/qwik/index.md Outdated
@wmertens

wmertens commented May 6, 2025

Copy link
Copy Markdown
Member

we're fixing the builder content issue, but you can always go directly to /docs

@iitzIrFan
iitzIrFan requested a review from wmertens May 8, 2025 09:15
Comment thread packages/docs/src/routes/api/qwik/api.json
Comment thread packages/docs/src/routes/api/qwik/index.md Outdated
@iitzIrFan

Copy link
Copy Markdown
Contributor Author

@wmertens
Had made changes do take a look and merge it.
Thank you !

@iitzIrFan
iitzIrFan requested a review from wmertens July 2, 2025 05:18
iitzIrFan added 8 commits July 13, 2025 13:18
…enhance CSRF protection guidance, and improve asset compression instructions
…ture, improve asset caching instructions, and clarify CSRF protection configuration
…de.js and static sites, improve security headers, and add performance monitoring guidelines
…ion to use tabs for better organization and add styling and script for tab functionality
…sections for Nginx and Apache, improve clarity, and remove tabbed interface
…d detail generated files for better understanding
…rove descriptions of generated files, and specify server entrypoints for Node.js adapters
… for build and assets directories, improve cache settings, and streamline alias definitions
@wmertens
wmertens enabled auto-merge (squash) August 1, 2025 15:07

@wmertens wmertens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 🧑‍🦰

@wmertens
wmertens merged commit 1f018d1 into QwikDev:main Aug 1, 2025

@gioboa gioboa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @iitzIrFan for this amazing PR

@iitzIrFan

Copy link
Copy Markdown
Contributor Author

Thanks @iitzIrFan for this amazing PR

Thanks and also @wmertens helped a lot to improve it so the efforts were his also 😅

andreww2012 pushed a commit to andreww2012/qwik that referenced this pull request Mar 11, 2026
* Created a new documentation section of deployment for self-hosters

* fixes

* fixes

* docs: update contributors for self-hosting guide

* docs: update self-hosting guide with streamlined commands and new deployment methods

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Optimize asset compression process for parallel execution

* Update

* Revert "Update"

This reverts commit 4864d0e.

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Update api.json

* Update api.json

* Update api.json

* Update index.md

* Update api.json

* Update api.json

* Update api.json

* Update api.json

* Update api.json

* Revert api.json to commit 0bd3dad

* Update api.json

* Refactor self-hosting documentation: remove Express adapter section, enhance CSRF protection guidance, and improve asset compression instructions

* Enhance self-hosting documentation: add details on build output structure, improve asset caching instructions, and clarify CSRF protection configuration

* Enhance self-hosting documentation: update Nginx configuration for Node.js and static sites, improve security headers, and add performance monitoring guidelines

* Enhance self-hosting documentation: refactor Nginx configuration section to use tabs for better organization and add styling and script for tab functionality

* Refactor self-hosting documentation: update web server configuration sections for Nginx and Apache, improve clarity, and remove tabbed interface

* Enhance self-hosting documentation: clarify build output structure and detail generated files for better understanding

* Enhance self-hosting documentation: clarify build output details, improve descriptions of generated files, and specify server entrypoints for Node.js adapters

* Enhance Nginx and Apache configurations: unify static assets handling for build and assets directories, improve cache settings, and streamline alias definitions

---------

Co-authored-by: iitzIrFan <irfanlhawk@gmail.com>
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