/summercamp

Primary LanguageJavaScript

Summercamp

A statically generated site using Next.js and Google Sheets

Creating credentials for Google Sheets access

Setup for local dev

  • Install dependencies:
npm install
  • Copy .env.example to .env and set the appropriate values.

  • Update local static data from Google Sheet

npm run update_gsheet_data
  • Run the app:
npm run dev

The app should be up and running on http://localhost:3000

Deploy

Deploy commands will pull down the latest data from the Google Sheet and then rebuild the app and deploy.

npm run deploy will deploy to Netlify test server

npm run deploy-prod will deploy to Netlify production server