有人能告诉我什么是.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. Make and Make install
- 2. JPA 2.1与Liberty Profile 16.0.0.4集成问题
- 3. Angular Profile服务与属性getter/setters?
- 4. Ws-basic profile 1.0 vs Ws-basic profile 1.1
- 5. 在页面前面的wordpress profile profile form?
- 6. MVC Common Profile Class
- 7. @Profile和@ConditionalOnProperty
- 8. Hockeykit Invaild Provisionary Profile?
- 9. Liberty Profile + Servlet 2.4
- 10. php profile with .htaccess
- 11. Getting LinkedIn Profile Picture
- 12. Bash .profile not loading
- 13. Customer Image Profile
- 14. resize facebook profile image
- 15. In House distribution profile
- 16. Maven Profile for testing
- 17. H264 profile-iop
- 18. Rails Association - User + Profile
- 19. “make -C X”vs“cd X; make”
- 20. 执行`make check`或`make test`
- 21. django-social-auth profile builder
- 22. Bulid maven project with profile
- 23. Django - NoReverseMatch at/Profile/user
- 24. Fuel php orm profile like
- 25. Maven 3 profile with extensions
- 26. Bundle Identifier and Provisioning Profile
- 27. Rails模型 - User.includes(:profile)
- 28. FOSUserBundle编辑EDITPAGE PROFILE
- 29. web-ext,profile和IndexedDB
- 30. 有效的provisioning profile