How to implement Angular in Google App Engine

0

This is my app.yaml file

# [START runtime]
runtime: python27
threadsafe: yes
# [END runtime]
handlers:
- url: /(.+)
  static_files: dist/
  upload: dist/(.*)
- url: /
  static_files: dist/index.html
  upload: dist/index.html
skip_files:
- ^(?!dist)  # Skip any files not in the dist folder

The Angular project contains the folder disp with the project files.

I am running gcloud app deploy from the directory where the appl.yaml file is located and it returns an error: ERROR: (gcloud.app.deploy) INTERNAL: Internal error encountered.

Does someone enlighten me?

    
asked by Nacho 26.09.2018 в 09:58
source

1 answer

0

The problem was in the configuration of the gcloud command. It is necessary to know what project is the asset with gcloud info

then we change the project with gcloud config set project NAME PROJECT WITH ID

And you have fixed the error.

    
answered by 26.09.2018 в 10:14