This website serves as the official voice of PDAP.
This site is built with Vue and Tailwind.
Head to #outreach in our Discord if you'd like to collect feedback from the wider group.
Test your changes locally first, if possible. Include screenshots with your PR if you're changing something visual.
In your terminal:
cd pdap.io
npm install
to install dependenciesnpm run dev
to start the site in development mode. Editing most files will trigger an automatic refresh of the page thanks to Vite's excellent dev server.npm run build
to build the site for production.npm run preview
will boot up a local static web server that serves the files from dist athttp://localhost:4173
. It's an easy way to check if the production build looks OK in your local environment.
Merge into the dev
branch, allow 5 minutes for the auto-deploy, and visit pdap.dev.
Either add a .env
file to your local root directory or manually export these secrets. Reach out to [email protected] or make noise in Discord if you'd like access.
# Local development
#Airtable API key
VITE_AIRTABLE_API_KEY=secret
#PDAP data sources API key
VITE_PDAP_API_KEY=secret
export VITE_AIRTABLE_API_KEY=secret
export VITE_PDAP_API_KEY=secret