Build And Deploy

Build and deploy this Next.js portfolio application. Use when building, deploying, or preparing the project for production.

majiayu000 f36ee8c 2 files · 1.6 KB Updated 567 repo stars

File contents

Build and Deploy Magic Portfolio

CRITICAL: For Vercel, use vercel build --prod then vercel deploy --prebuilt --prod.

Workflow

1. Install Dependencies

npm install

2. Build

npm run build

3. Deploy

Vercel (Recommended):

vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN

Netlify:

netlify deploy --prod --dir=.next

Tech Stack

  • Framework: Next.js 16
  • UI: Once UI + React 19
  • Styling: Sass
  • Content: MDX for blog posts and projects
  • Language: TypeScript

Important Notes

  • Requires Node.js v18.17+
  • Configuration files:
    • src/resources/once-ui.config.js - Theme and UI settings
    • src/resources/content.js - Site content
  • Blog posts go in src/app/blog/posts/
  • Projects go in src/app/work/projects/

majiayu000/claude-skill-registry-data/tree/main/development/build-and-deploy commit f36ee8c5af

Frequently asked questions

npx skillmds add majiayu000/build-and-deploy-2