我試圖按照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上項目的鏈接:
我想我要克隆所有的「子模塊」在其各自的目錄中呢?