有人能告訴我什麼是.profile和.make文件在drupal安裝配置文件時的區別。我需要哪些這些?.make與.profile
2
A
回答
4
.profile文件是Drupal在加載安裝文件時使用的文件。它們定義要加載的模塊,配置選項,初始數據等。您仍然需要下載安裝配置文件可能需要的所有模塊,並通過Drupal安裝。
.make文件是一個Drush(特別是Drush Make)構造,它可以接受安裝配置文件和其他配置選項,自動將所有內容下載到正確的位置並實例化新的Drupal實例。
當Drupal首次實現安裝配置文件時,Drush並不存在;如果您想創建自己的安裝配置文件,則必須手動完成所有操作。 Drush將make文件引入Drupal,這使得安裝配置文件更加直接。查看packaging a profile on Drupal.org和Writing an installation profile for the Drupal installer的手冊頁獲取更多信息。
3
.profile文件允許您將額外的設置頁面添加到Drupal在安裝期間顯示的安裝設置頁面,而.make文件(drupal-org.make是drupal.org上使用的默認文件)包含一個列表來自安裝配置文件的所需模塊。
相關問題
- 1. Angular Profile服務與屬性getter/setters?
- 2. JPA 2.1與Liberty Profile 16.0.0.4集成問題
- 3. Ws-basic profile 1.0 vs Ws-basic profile 1.1
- 4. Sip Profile Building:Android
- 5. php profile with .htaccess
- 6. MVC Common Profile Class
- 7. Customer Image Profile
- 8. Maven Profile for testing
- 9. Bash .profile not loading
- 10. @Profile和@ConditionalOnProperty
- 11. resize facebook profile image
- 12. Liberty Profile + Servlet 2.4
- 13. 執行`make check`或`make test`
- 14. Bundle Identifier and Provisioning Profile
- 15. django-social-auth profile builder
- 16. Django - NoReverseMatch at/Profile/user
- 17. 有效的provisioning profile
- 18. 「No MAKE LOAD-FORM」錯誤與OpenMCL Common Lisp
- 19. 工作人員配置與make -j
- 20. make date_create()與DateTime子類一起工作
- 21. 運行GNU make目標與參數
- 22. 差異與不同的make文件
- 23. make fullScreenVideoView
- 24. 如何從make 3.82構建make 4.0?
- 25. 指南mingw make文件mingw32-make
- 26. 生成RPM也運行「make」和「make install」
- 27. BSD Make和GNU Make兼容的makefile
- 28. make和make -j5有什麼區別?
- 29. make nconfig&make linux-nconfig有什麼區別?
- 30. Netbeans Profile JUnit 4問題