This folder contains the production-ready version of the Shadow Intern project, optimized for deployment on Vercel, Render, and itch.io.
- Install dependencies:
npm install
- Build the project:
npm run build
- Preview locally:
npm run preview
- Install Vercel CLI:
npm i -g vercel - Run
vercelin this directory. - Vercel will automatically detect the Vite project and use
vercel.jsonfor routing.
- Push this folder to a GitHub repository.
- Create a new Static Site on Render.
- Connect your repository.
- Render will use the
render.yamlconfiguration (if you use a Blueprint) or you can manually set:- Build Command:
npm install && npm run build - Publish Directory:
dist
- Build Command:
- Run the packaging script:
npm run zip-itch
- This will generate
production-itch.zip. - Upload this zip to your itch.io project page.
- Select "This file will be played in the browser".
- SEO: Basic meta tags added to
index.html. - Performance: Vite's default production build handles tree-shaking and asset hashing.
- SPA Routing: Configured via
vercel.jsonandrender.yaml.