Skip to content

Deploying the website for your team

Minhtet Htoon edited this page May 30, 2022 · 2 revisions

Using This Page as a Template

This project is open source so that other FIRST teams may use it as a template

Prerequisites

  • Basic knowledge of Javascript, Typescript, React and NextJS
  • NodeJS >=14.5.0 & Yarn

Mandatory Steps

  1. Turn on your computer

  2. Download repository

  3. Get Google Calendar API Key and ID (Just lookup how to do this)

  4. Create a .env file at your project root. DO NOT COMMIT THIS FILE TO SOURCE CONTROL

    i. Add the following lines

    KEY=<YOUR_API_KEY>
  5. Run yarn install to install dependencies

  6. Run a development server using yarn dev

  7. Change files in the public directory with photos of your team

  8. Go through pages and component directories changing "Project Y" to your team name and "4153" to your team number.

  9. Change any paragraphs on pages you need to.

  10. When your done, run yarn analyze to see bundle size and check that your page builds before deploying to hosting

Clone this wiki locally