CLI Deployment
Deploy with the Vercel CLI.
Prerequisites
- Node.js v18+
- Vercel CLI (
npm i -g vercel)
Local Preview
bash
git clone https://github.com/LegspCpd/vscode-web.git
cd vscode-web
npx serve .
# or
python -m http.server 3000Deploy
bash
npx vercel login
npx vercel # development
npx vercel --prod # productionEnvironment Variables
bash
npx vercel env add GITHUB_CLIENT_ID production
npx vercel env add GITHUB_CLIENT_SECRET productionLocal API Testing
bash
npx vercel devSet the OAuth callback to http://localhost:3000/api/auth/callback when testing locally.
