开发者

Web2py on App Engine Local Environment: Cannot access admin interface

开发者 https://www.devze.com 2023-02-06 08:54 出处:网络
I have been trying to learn web2py for use on App Engine. However I cannot seem to be able to access the admin interface.

I have been trying to learn web2py for use on App Engine. However I cannot seem to be able to access the admin interface. (The default page loads, when I access it from 127.0.0.1:8080. To access the admin interface, the url used should be 127.0.0.1 (by default))

Web2py on App Engine Local Environment: Cannot access admin interface

However when I click the admin interface link all I get is this page

Web2py on App Engine Local Environment: Cannot access admin interface

Logging in with any email id does not work.

I have been through the tutorial at http://wiki.web2py.com/Deploying_web2py_on_Google_App_Engine_GAE_ however, it does not talk about setting a password to access the admin interface on the local App Engine environment.(And I think it is out of date)

I have also been through the web2py book which talks about setting up a password to access the admin environment (when using the web2py server, this chapter does not talk about app engine)

Questions:

Do I have to set a password to access the admin interface while it is deployed on the local app engine server? If yes, how?

If not, How do I access the admin interface?

Finally, Can 开发者_如何学运维I access the admin interface when the app is deployed on the remote GAE servers?


You should set an admin password during the installation process.
Check this video at 00:35 or read this doc.


I don't think you'll be able to access the admin interface when the app is deployed on the remote GAE servers because admin requires access to a filesystem, and GAE doesn't allow writing to the filesystem. So, you'll be limited to local usage.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号