Skip to content

kitcat-dev/www

Repository files navigation

My personal site

Code, texts, projects and so on.

Local development

Install dependencies.

npm i

Install Vercel CLI.

npm i -g vercel

Login to Vercel and pull environment variables.

vercel env pull

Start local dev server.

vercel dev

Environment variables

Key Value Where to set
AIRTABLE_API_KEY ... Vercel (Prod, Preview, Dev)
NPM_RC ... Vercel (Prod, Preview)

NPM_RC

  1. Edit ~/.npmrc:
//registry.npmjs.org/:_authToken=TOKEN_FOR_NPM
@kitcat-dev:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=TOKEN_FOR_GITHUB_PACKAGES
  1. Add content of ~/.npmrc to Vercel:
vercel env add plain NPM_RC production < ~/.npmrc
  1. Check Preview in Vercel Dashboard.

About

Personal website.

Topics

Resources

Stars

Watchers

Forks