Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view deployed source file in GCP Console(AppEngine Flexible Environment)?

I'm pretty new to the Google Cloud Platform. I have deployed a Python 3 Flask app in AppEngine Flexible Environment using the Google Cloud SDK and the app works fine. I just want to view the source files deployed, in the cloud. Is there any way to view my project files in GCP?

like image 695
Ajay Sivan Avatar asked Jun 19 '18 02:06

Ajay Sivan


Video Answer


1 Answers

You can view the source files by clicking on tools > debug next to the app version on your versions page

Alternative, you can go to your instances page, click on SSH next to one of the instances and you will enter the debug mode for that specific instance.

This will open a console in your browser and you can start a shell in the container that is running your app, as described here.

PS: apparently this is possible only for the Flexible Environment

like image 56
saccodd Avatar answered Oct 11 '22 06:10

saccodd