Google app engine: how to use downloaded data using development server?

After I download data from my application for Google applications, I would like to start the development server and view the downloaded data on local pages. I can do it? I'm sure I can, but I can’t understand. Sorry if this is a repeat, or again I'm just stupid. Thanks in advance. I use the Python environment if that matters.

I tried this:

google_appengine/appcfg.py upload_data --url=http://localhost:8080/ --filename=Data/copy.csv appname

and got it

Application: appname; version: 1.
Uploading data records.
[INFO    ] Logging to bulkloader-log-20110201.103838
[INFO    ] Throttling transfers:
[INFO    ] Bandwidth: 250000 bytes/second
[INFO    ] HTTP connections: 8/second
[INFO    ] Entities inserted/fetched/modified: 20/second
[INFO    ] Batch Size: 10
[INFO    ] Opening database: bulkloader-progress-20110201.103838.sql3
Please enter login credentials for localhost
Email: aaron.watters@google.com
Password for aaron.watters@google.com: 
[INFO    ] Connecting to localhost:8080/
[INFO    ] Authentication Failed

What should I use to make authentication successful?

+3
source share
2 answers

[EDIT]: Suddenly, I saw an error in your command arguments. The URL must point to a path remote_api(i.e. --url=http://localhost:8080/remote_api).

Previous answer:

Google, , Google db; -)

:

  • API app.yaml:

    - url: /remote_api
    script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
    #login: admin
    

    , .

  • http://localhost:8080/remote_api.

    , , , " admin".

    script, , , . .

+4

, Federated Login. Google User API . ;)

+1

Source: https://habr.com/ru/post/1789259/


All Articles