This is the code behind the Joe Russo's Almost Dead fan site JRAD.today.
It is powered by Qwik and GitHub Pages. It uses data from Almost-Dead.net.
Development mode uses Vite's development server. For Qwik during development, the dev
command will also server-side render (SSR) the output. The client-side development modules loaded by the browser.
npm run dev
Note: during dev mode, Vite will request many JS files, which does not represent a Qwik production build.
The preview command will create a production build of the client modules, production build of src/entry.preview.tsx
, and create a local server. The preview server is only for convenience to locally preview a production build, but it should not be used as a production server.
npm run preview
This generates a SSG build in the ./dist/
subdir, commits it to the gh-pages
branch, and pushes it. GitHub Actions then will publish those files to GitHub Pages.
npm run deploy.prod