Celebrate Val's birthday.
Content:
npm install
You should end up with an .env
file (similar to .env-sample
):
Set up vercel kv, eg:
vercel link
vercel env pull .env.development.local
# rename to work around some issue with the no-config kv setup
mv .env.development.local .env
Optionally sign up to api-ninjas and set API key in .env to get quotes when generating knowledge:
API_NINJAS_KEY="<your-api-key>"
# start dev server and open app in browser
npm run dev -- --open
# unit & integration tests
npm test
Prod version:
npm run build
Preview the production build: npm run preview
.