From ba89b0712debeebefc0ad36c72f0562ea0abc826 Mon Sep 17 00:00:00 2001 From: longzhao Date: Tue, 21 Nov 2023 14:26:28 -0800 Subject: [PATCH] Update README file with compatible Angular version --- README.md | 19 ++++++++++++------- frontend/package-lock.json | 1 - 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 36bf17e..fc6b49c 100644 --- a/README.md +++ b/README.md @@ -65,17 +65,12 @@ https://help.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key- `node -v` `npm -v` + + Note: If you met compatbility issue, please consider install Node to v18.12.0 and Angular Cli to 14.2.13 2. Install [Angular-cli](https://cli.angular.io/) by running `npm install -g @angular/cli` * Check version by running `ng version` - * Below are the hello world project's Angular version - * @angular-devkit/architect 0.901.6 - * @angular-devkit/core 9.1.6 - * @angular-devkit/schematics 9.1.6 - * @schematics/angular 9.1.6 - * @schematics/update 0.901.6 - * rxjs 6.5.4 3. go to fronend folder, and run following commands to build the frontend @@ -151,3 +146,13 @@ After finishing set up the frontend and backend, open the browser(recommend chro 3. Go to the /frontend folder, build the prod version of the frontend by entering `ng build --prod`. Then go to the generated /dist folder, run `gcloud app deploy`. Make sure if your gcloud project setup is correctly, and the target service is set as default 4. Go to the /backend folder, run `gcloud app deploy`, and make sure the target service is set as api. 5. Go to the gcp console and make sure the latest frontend and backend have been uploaded. + +Note: If you meet into permission issue, please send requests to longzhao@google.com to ask for GCP project permission. + + +## Debug and monitor from the cloud +If you need to debug the project, please go to the following links to check for debugging info + +Frontend real time logs: https://pantheon.corp.google.com/logs/query;query=resource.type%3D%22gae_app%22%0Aresource.labels.module_id%3D%22default%22;cursorTimestamp=2023-11-21T21:04:29.604806Z;duration=PT1H?serviceId=default&project=google.com:tank-big-data-plotting-285623 + +Backend real time logs: https://pantheon.corp.google.com/logs/query;query=resource.type%3D%22gae_app%22%0Aresource.labels.module_id%3D%22api%22;duration=PT1H?serviceId=api&versionId=20221101t190352&project=google.com:tank-big-data-plotting-285623 diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 8451c92..d5e9fd3 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "frontend", "version": "0.0.0", - "hasInstallScript": true, "dependencies": { "@angular/animations": "~9.1.7", "@angular/cdk": "^9.2.3",