Building Google Cloud Platform Solutions
上QQ阅读APP看书,第一时间看更新

Trying it out

Here's a quick demo to see how these components fit together:

  1. Visit this book's git repository (https://github.com/TrainingByPackt/BuildingGoogleCloudPlatformSolutions) and click Open in Cloud Shell.
  2. In the shell window, go to the Cloud Shell demo directory with cd chapter_02/example_01.
  3. Install node dependencies with npm install.
  4. Start the sample app with npm start.
  5. View the running application in your browser by clicking Web Preview.
  1. Use the Code Editor to modify static/index.html and refresh the browser to see updates:

After opening the source code for this book via the Open in Cloud Shell button. The Cloud Shell Code Editor is a fully-integrated IDE running on top of the Cloud Shell. Here, a Markdown preview is being used to quickly edit a README file. In the bottom, the shell has been split into two panes using the included tmux support.