[英]Web2py on App Engine Local Environment: Cannot access admin interface
I have been trying to learn web2py for use on App Engine. 我一直在尝试学习在App Engine上使用的web2py。 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))
(当我从127.0.0.1:8080访问默认页面时,将加载默认页面。要访问管理界面,使用的网址应为127.0.0.1(默认情况下))
However when I click the admin interface link all I get is this page 但是,当我单击管理界面链接时,我得到的只是此页面
Logging in with any email id does not work. 使用任何电子邮件ID登录均无效。
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) 我已经遍历了http://wiki.web2py.com/Deploying_web2py_on_Google_App_Engine_GAE_上的教程,但是,它没有谈论设置密码来访问本地App Engine环境上的管理界面。(我认为它已经过时了)
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) 我也浏览过web2py本书 , 该书讨论设置密码以访问管理环境(使用web2py服务器时,本章不讨论应用程序引擎)
Questions: 问题:
Do I have to set a password to access the admin interface while it is deployed on the local app engine server? 将其部署在本地App Engine服务器上时,是否需要设置密码才能访问管理界面? 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? 最后,当应用程序部署在远程GAE服务器上时,我可以访问管理界面吗?
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. 我认为将应用程序部署在远程GAE服务器上后,您将无法访问管理界面,因为admin需要访问文件系统,并且GAE不允许写入文件系统。 So, you'll be limited to local usage.
因此,您将仅限于本地使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.