hpmewes / silverstripe-install
MLabs SilverStripe 框架安装程序
Requires
- silverstripe/installer: 3.1.12
This package is not auto-updated.
Last update: 2024-09-28 16:05:09 UTC
README
带有 cdn Bootstrap 和 googleapis jQuery 的自动化 SilverStripe 安装程序。所选 jQuery 的更新版本也包含在内。运行此脚本时,您应该拥有 root 权限。
在 fork 之前请询问 @meweshp@googlemail.com 一些功能将在开发后移动到其他模块。目前仍处于早期 alpha 阶段。
如何开始
创建新项目
composer create-project hpmewes/silverstripe-install -s dev ROOT_SITE_DIR
手动安装
将文件复制到您的 ROOT_SITE_DIR 并运行 "composer install"
Web 服务器支持
- Nginx
服务器管理面板支持
- Froxlor(即将推出)
包含内容
所有包含的包都已预配置。您只需查看那里即可。
SilverStripe 核心组件
- SilverStripe 框架 (https://github.com/silverstripe/silverstripe-framework)
- Silverstripe CMS (https://github.com/silverstripe/silverstripe-cms)
SilverStripe 模块
- Googlemaps (https://github.com/hpmewes/silverstripe-googlemaps)
- GoogleSitemap (https://github.com/silverstripe-labs/silverstripe-googlesitemaps)
- Facebook Connect (https://github.com/hpmewes/silverstripe-facebookconnect)
- 画廊 (https://github.com/frankmullenger/silverstripe-gallery)
- 扩展 SiteConfig (https://github.com/hpmewes/silverstripe-siteconfigextension)
- Focuspoint (https://github.com/jonom/silverstripe-focuspoint)
- 前端管理 (https://github.com/guru-digital/frontend-admin)
- Kickassets (https://github.com/unclecheese/KickAssets)
- Bootstrap 表单 (https://github.com/unclecheese/silverstripe-bootstrap-forms)
- Zen Fields (https://github.com/unclecheese/silverstripe-zen-fields)
- 显示逻辑 (https://github.com/unclecheese/silverstripe-display-logic)
- 会员档案 (https://github.com/silverstripe-australia/silverstripe-memberprofiles)
- 用户表单 (https://github.com/silverstripe/silverstripe-userforms)
自定义扩展
使用自定义扩展而无需 git 控制。一些插件必须修改才能开始使用。现在已将其移除。一旦运行,您就可以将其复制到安装程序,在下次安装时,这将为您自动完成。例如,查看 vendor\MLabs\Extension、vendor\MLabs\BootstrapFormExtension、vendor\MLabs\FacebookConnectExtension。
文件处理
在 vendor\MLabs\File 下查看更多信息
- 复制
- 删除
- 删除文件夹
- 移动
- 添加内容
- 替换内容
开发
未来计划和要做的一些事情。如果有人愿意帮助你,欢迎 @meweshp@googlemail.com。
待办事项
- 在项目中搜索 "待办:"
- 创建一个新的模板,其中包含来自配置、命令行或其他内容的所有内容
- 查看未来的功能、模块等
未来功能(SilverStripe)
-
扩展 config.yml
-
扩展 extensions.yml
-
默认联系页面添加到 CMS,带有用户表单和谷歌地图
-
默认成员个人资料页面添加到 CMS,带有电子邮件地址和注册用户与组之间的关系
-
默认相册模板
未来模块(SilverStripe)
- 新闻
- 翻译(讨论应包含哪些内容)
- silversmith(可选,从安装程序中安装)
未来功能管理包(SilverStripe)
应通过 SilverStripe 管理员选择和安装包(仅限管理员)。
- dropzone
- dynamictemplate
- bootstrap 自动完成
- bootstrap 标签字段
- 反垃圾邮件保护
- 编辑锁定
- 定时通知
- 照片画廊
- 谷歌分析
等等...
未来功能(Froxlor)
- 为安装程序获取 [froxlor-username]
- 为安装程序获取 [域名]
- silverstripe 一键安装
- 检查 php5-fpm
- 编写 nginx 配置
- ssl 设置以通过 https:// 启动管理员区域
- 编写 php5-fpm 配置(将 memory_limit 更改为 64M)
已知问题
- BootstrapFormsExtension - 不是所有表单都被复制,只有 BootstrapMemberProfileRegisterFrom
- sake build/dev "flush=all" - 没有影响必须检查
- "您必须使用 date.timezone 设置或 date_default_timezone_set() 函数" - 当 sake 以 dev/build "flush=1" 运行时
- 在银Stripe 的简单主题中的 scrip.js 上,$.browser 是未定义的 - 使用 modernizr
- 通过浏览器安装后重定向到找不到网站的索引.php/home/successfullyinstalled?flush=1&flushtoken=2f28be2e403429fbcb40b9dd3aa43d7f - 我认为需要 nginx 的规则