Download sources of existing AppEngine based site using Google Cloud - google-app-engine

I have a site hosted in Google AppEngine. For years I was able to download/upload its sources using appcfg.py. However today Google went to Google Cloud, all appcfg related documents are marked as deprecated. I've installed the GCloud environment but cannot find a way how to download my project from google, all I can see is to create a new app and deploy an app but no download possibility.
What is a correct command(s) to download AppEngine app to local computer and then, after changes, upload it back to AppEngine?

There’s currently no way to download the source code using Cloud SDK. You can create a feature request on the issue tracker website.
The appcfg tool is now deprecated, it is recommended to use the Cloud SDK tooling such as gcloud command tool

Related

Any way to update/change deployed source code online via Google Cloud?

I have deployed source code via gcloud command line with no issue. However, I am currently away from my desktop and see a critical change to my app.yaml file that I would like to make.
Is this possible to do via my Google Cloud account?
You can use the App Engine Admin API to patch the specific version of your service and update the instance type since your app is using App Engine Standard. You can use the "Try this API" feature to update it right from your browser.

How to use Google Cloud SDK in local environment

I am currently using Google's 'legacy standalone SDK' for management of my google app engine python projects. This provides a nice GUI where I can select and run a project locally and then deploy it when I'm happy with testing.
I recently received the following message from Google '... App Engine app that has used the legacy standalone SDK in the past 30 days, and need to be migrated to Cloud SDK' so I installed the Cloud SDK.
The provided Google Cloud SDK Shell a) runs as a dos window, and b) appears to duplicate the on-line (live) Dashboard. Given that I can't change (local) code and deploy without testing, my questions are:-
1) how do I run a project locally?
2) how do I view local logs?
3) when happy, how do I deploy?
or... is there GUI for the Local Environment?
or... is the above documented somewhere that I have not found?
Many thanks and apologies if this is a dumb question.
David
On July 30, 2019, the standalone App Engine SDK is deprecated. Here you can check documentation how to migrate from AppCft to gcloud command line
How to test your application locally?
For Python you can use Local Development Server that includes Cloud Datastore Emulator. (There is also solution for Java Java 8 Local Development Server).
How to view logs locally?
In python to debug your code from the command line use interactive console. You have to import to your code PDB debbuger
How to deploy application?
You deploy your app with gcloud command gcloud app deploy. Cloud SDK does not include GUI for deployment.

Can I install "Cloud Tools for Eclipse" without installing "Google Cloud SDK"?

I have used GAE 2 years ago. Now I am setting it up on new machine.
My web application is multi author blog, it will use Datastore for storing data. I want to setup standard environment(and not flexible environment).
I have already installed Java 8(Using Java 8 only because it is latest, I can use Java 7 if required).
I have also downloaded and setup Eclipse Oxygen(again I can change that if it is useful).
I have downloaded and setup 'appengine-java-sdk-1.9.59'.
I wanted to setup App Engine Plugin for Eclipse. Apparently it is deprecated and Cloud Tools for Eclipse is recommended (https://developers.google.com/eclipse/docs/download).
Should I install "Google Cloud SDK"(https://cloud.google.com/eclipse/docs/quickstart) considering the fact that I am developing low volume website and it wont need all that features which SDK might provide?
Can I install "Cloud Tools for Eclipse" without installing "Google Cloud SDK"?
All Google cloud SDKs, including the App Engine SDK, are converging on using the Google Cloud SDK as the delivery mechanism. Yes, you must install the Cloud SDK for use with the Cloud Tools for Eclipse. You will be asked to point to the Cloud SDK directory in Eclipse.

Running Go App Engine apps locally.

I'm trying to run an App Engine app locally using the development server, as specified in Google's docs. I'm running into a ton of compilation errors due to the go library packaged in the SDK missing system libraries.
Looking at the SDK download page, it says:
Note: The Google App Engine Launcher does not work with Go apps.
So is there no way to launch Go apps running on App Engine locally?
The GAE Go SDK contains and uses a modified version of Go 1.6.2., and the context package was added to the standard lib in Go 1.7. The old API that comes bundled in the SDK uses the appengine.Context context.
See related question: AppEngine/Go: Using a new version of Go with the SDK

upload php files to google cloud using lamp

I am new to google cloud. I am using xamp in my laptop. I have created a project in php called "test" in my htdocs. Its works succesfully on my localhost. I have an account at google cloud and I have setup lamp and it works successfully. I was trying to find a way to upload my folder "test" (which includes all my php files) to google cloud. Do I need to use Google App Engine Launcher? Is there an easier way to do this? i.e example to use filezilla? Anybody knows where I can find a tutorial about how to do this? Thanks
You need to download Google App Engine SDK for PHP from here. Detailed procedure for uploading and managing PHP app in Google App Engine is described here.

Resources