-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
# Media Commons Reservation Tool | ||
# 370J Media Commons Room Reservation App | ||
|
||
## About | ||
This application is designed for reserving rooms at the 370J Media Commons Room. | ||
|
||
## Technologies Used | ||
- **Google App Script**: For backend scripting and integration. | ||
- **React & Google App Script**: Utilizing [React-Google-Apps-Script](https://github.com/enuchi/React-Google-Apps-Script) for a responsive front-end experience. | ||
- **clasp**: For Google Apps Script project management and deployment. | ||
|
||
## Deployment | ||
We employ GitHub workflows for our deployment process. | ||
Any merges into the main branch automatically trigger a deployment to the production Google App Script. | ||
|
||
## Preparation | ||
Before setting up the project, ensure you have the following: | ||
- `.clasprc.json` file from another developer. | ||
- `deploymentId` for Google Apps Script. | ||
|
||
## Setup Instructions | ||
1. **Clone the Repository**: | ||
2. **Configure `.clasprc.json`**: | ||
Set up the `.clasprc.json` file with the necessary credentials. | ||
3. **Install Packages**: | ||
```bash | ||
npm install | ||
``` | ||
4. **Upload Local Code to Google App Script**: | ||
```bash | ||
npm run start | ||
``` | ||
5. **Create a New Version of Google App Script**: | ||
Deploy using clasp, targeting your `deploymentId`: | ||
```bash | ||
clasp deploy --deploymentId ${deploymentID} -d for local development | ||
``` | ||
6. **Access the Application**: | ||
You can now access the app at `https://script.google.com/a/macros/nyu.edu/s/${deploymentId}/exec`. | ||
|