2016-09-21 113 views
0

我试图按照https://googlecloudplatform.github.io/appengine-php-wordpress-starter-project/上的说明操作。我有一些疑问,在接下来的步骤:在为Google App Engine设置Wordpress时将wp-config.php放在哪里

enter image description here

的说明似乎意味着应该有在wordpress目录wp-config.php。然而,如从GitHub克隆,存在上述主目录中的wp-config.php

enter image description here

wordpress目录为空。

我正在考虑两个方案:
1)编辑wp-config.php并使其保持它在哪里,或者
2)编辑wp-config.php,并将其移动到wordpress子目录。

这两种方法都是正确的吗?另外,初学者项目中是否有足够的文件来启动Wordpress,或者我可能必须自己下载并将提取的内容放入wordpress目录中?

编辑
再次感谢GAEfan的回答。我再次试图克隆Github的资源库,但wordpress目录仍然是空的:

[email protected]:~/Website$ git clone https://github.com/GoogleCloudPlatform/appengine-php-wordpress-starter-project.git 
Cloning into 'appengine-php-wordpress-starter-project'... 
remote: Counting objects: 575, done. 
remote: Total 575 (delta 0), reused 0 (delta 0), pack-reused 575 
Receiving objects: 100% (575/575), 79.22 MiB | 11.21 MiB/s, done. 
Resolving deltas: 100% (317/317), done. 
Checking connectivity... done. 
[email protected]:~/Website$ cd app* 
[email protected]:~/Website/appengine-php-wordpress-starter-project$ cd wordpress 
[email protected]:~/Website/appengine-php-wordpress-starter-project/wordpress$ ls 
[email protected]:~/Website/appengine-php-wordpress-starter-project/wordpress$ 

不过,我已经注意到,在Github上,该wordpress目录本身是另一个Github上项目的链接:

enter image description here enter image description here

我想我要克隆所有的“子模块”在其各自的目录中呢?

回答

1

该wordpress目录应该是充满文件!你的app.yaml被设置为在那里。所以,wp-config.php应该在其中,以及许多其他文件。

请尝试再次下载。我的下载是:appengine-php-wordpress-starter-project_build_linux_mac 2

enter image description here

相关问题