You will need to have Node.js installed on your machine. After cloning the repo, follow these steps:
- Install dependencies:
npm install - Run in local dev mode with hot reload:
npm run dev - Navigate to localhost:3000 or whatever port is specified in the console output
When you're ready to deploy, follow these steps:
- Build for production - reveals any compile issues:
npm run build - Run in production (no hot reload):
npm run start - Navigate to localhost:3000 or whatever port is specified in the console output
- You will need a Google Auth service account with access to the google sheet - see tutorial
- Use the info from this service account to fill out your
.envfile based on the.env.examplefile - Run the scripts via the test cases:
npm run test - They should pull the data and create json files in the
public/folder
src/- This is where the frontend source code livesdatabase/- This is where any scripts are that pull data from google sheetspublic/- This is where static assets live, such as the transformed json data