我试图按照https://googlecloudplatform.github.io/appengine-php-wordpress-starter-project/上的说明操作。我有一些疑问,在接下来的步骤:在为Google App Engine设置Wordpress时将wp-config.php放在哪里
的说明似乎意味着应该有在wordpress
目录wp-config.php
。然而,如从GitHub克隆,存在上述主目录中的wp-config.php
:
而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上项目的链接:
我想我要克隆所有的“子模块”在其各自的目录中呢?