This application is designed for reserving rooms at the 370J Media Commons Room.
We employ GitHub workflows for our deployment process. Any merges into the main branch automatically trigger a deployment to the production Google App Script. We employ GitHub workflows for our deployment process. Pushing or merging to different branches will automatically trigger different Google App Script deploys:
main
branch: triggers the DEVELOPMENT deploy, which serves from localhost and reads/writes the development calendarsstaging
branch: triggers the STAGING deploy, which serves from the GAS project and reads/writes the development calendarsprod
branch: triggers the PRODUCTION deploy, which serves from the GAS project and reads/writes the production calendars TheNODE_ENV
environment variable controls where we serve from, and theCALENDAR_ENV
environment variable controls which calendars we use. These values are specified in thepackage.json
commands triggered by the workflows
When developing locally, please follow the flow below.
-
Clone the Repository:
-
Install Packages:
npm install
-
Make sure that you have placed the
.env.local
file in the root directory -
Run the dev local server
npm run dev