-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README file with compatible Angular version
- Loading branch information
1 parent
ef566c1
commit ba89b07
Showing
2 changed files
with
12 additions
and
8 deletions.
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 |
---|---|---|
|
@@ -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 [email protected] 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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.