Requires node.js and yarn to be installed.
On OS X:
brew install node yarn
Install project dependencies:
yarn
Setup configurtion by creating a .env
file in the project root with the following:
AIRTABLE_API_KEY=your-airtable-api-key
AIRTABLE_BASE_ID=your-airtable-base-id
AIRTABLE_CACHE_TIME=300000
NEXT_PUBLIC_ALGOLIA_APP_ID=your-algolia-app-id
NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY=your-algolia-search-api-key
ALGOLIA_ADMIN_API_KEY=your-algolia-api-key
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN=your-mapbox-access-token
VTA_API_KEY=your-vta.org-api-key
Start the development server:
yarn dev
Open http://localhost:3000 in your browser
Follow the setup inistructions above, and then run:
yarn build
Runs the built app in production mode:
yarn start