简体   繁体   中英

How to Host my Angular 4 web App in GCP

I want to host my website through google Cloud Platform, But my code is in typescript(Angular 4). Anyone know how to host angular 4 website in GCP please suggest me

  • install friebase-tools

    npm install -g firebase-tools

  • go project dir,init setting and select Hosting

    firebase init

  • publish you angular web to firebase host

    firebase deploy

  • do complete !!:)

Read more at: https://firebase.google.com/docs/cli/

It would be useful if you provide more details about the website. If it is static, you can use Google Cloud Storage .

If it is not, you can use App Engine flexible Node.js or App Engine flexible Custom Runtime . Use the Custom Runtime "to use an alternative implementation of Java, Python, Node.js, Go or write in another language".

In any case, I suggest you to start doing the "quickstart" to get familiarized with the solution.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM