18bytes
18bytes

Reputation: 6029

Get source code from App Engine

Is it possible to download copies of our application's code from the Google App Engine servers?

Using appcfg.py we upload the files. Wondering if there's something similar we can use to download the source code from App Engine?

For e.g. If we loose the source code locally, is it possible to get it from Google App Engine server where the python application is running?

Upvotes: 0

Views: 168

Answers (2)

Qiau
Qiau

Reputation: 6175

Yes you can.

  1. Create a new directory for storing the downloaded files. The App Engine runtime requires that the directory be empty before it can download the files to that directory.
  2. Switch to the directory where App Engine is installed on your computer. It is usually under the following path: C:\Program Files\Google\google_appengine
  3. Execute the following command to download the project. Remember to replace MyAppName with the ID of your own App Engine project. appcfg.py download_app - A MyAppName -V 1 c:\AppEngine\SourceCode

It'll ask for your Google Account credentials and once authenticated, all the source code files will instantly download to the specified directory.

(from: http://www.labnol.org/software/download-appengine-files/19348/)

Upvotes: 0

Bastian
Bastian

Reputation: 10433

you can.. if it was not disabled by the admin

are you using python, java or go ?

https://developers.google.com/appengine/docs/python/tools/uploadinganapp?hl=en#Downloading_Source_Code

also see ./appcfg.sh help download_app

Upvotes: 3

Related Questions