#How to deploy to XAMPP?
15 messages ยท Page 1 of 1 (latest)
Hi, when you build your app in SSG you have static file to serve. In SSR mode you need a JavaScript runtime
So in SSR mode I have to completely rely on the framework's webserver?
Yep, like the other SSR frameworks. This page will give you more information https://qwik.builder.io/docs/guides/static-site-generation/#ssg-vs-server-side-rendered-ssr
For a Javascript project, it's quite common for the build's runtime to be built on top of Node.js. However, the core of Qwik City static site generation isn't tied to using only Node.js, which is why the qwikCityGenerate() function is imported from <@&951952239579258920>.io/qwik-city/static/node. By scoping the generate function to a specific runtime, such as Node.js, this gives Qwik City the flexibility to also generate SSG from other runtimes in the future, such as Deno or Bun.
If you want https you should follow the XAMPP solutions.
You can use express https://qwik.builder.io/docs/deployments/node/#production-deploy
Or fastify
In order to deploy the server, you need to run the server/entry.[server].js file in the server of your choice, where [server] can be express or fastify.
And you will have SSR
Thank you