codebunch/silverstripe-bootstrap

SilverStripe Bootstrap 配方

1.0.0 2019-01-03 06:54 UTC

This package is auto-updated.

Last update: 2024-09-22 22:41:47 UTC


README

简介

此项目可以作为希望使用 SilverStripe CMS 和 BootStrap 主题的人的快速入门。

特性包括

  • SilverStripe 4 CMS ++ Bootstrap 4 主题。
  • Webpack 配置,包含捆绑 jQuery、BootStrap、font awesome。
  • SilverStripe elemental 模块 [dnadesign/silverstripe-elemental] 包含在内并可在 CMS 中使用。

要求

  • PHP >= 5.6.0
  • SilverStripe CMS ^4.2.1
  • SilverStripe Elemental Module ^3.0
  • PHP_CodeSniffer 3.*

安装

composer create-project codebunch/silverstripe-bootstrap ./your-project-folder dev-master
Create your own .env file with DB credentials, follow syntax as per .env.example
cd themes/creative
npm install

使用 PHP_CodeSniffer 进行编码标准检查

./vendor/bin/phpcs *.php
./vendor/bin/phpcbf *.php

本地管理员凭证设置

Add your default admin credentials in config - app/_config.php
SilverStripe\Security\Security::setDefaultAdmin("admin","admin");

构建

Execute build.sh for SilverStripe dev/build

屏幕截图

Screenprints

Screenprints

Screenprints

贡献

您的贡献非常欢迎!

  • 将项目用于您的业务
  • 为项目加星标
  • 向项目问题页面报告问题
  • README & 文档增强(通过 PR)
  • 通过 PR 添加新功能或修复错误

特别感谢https://startbootstrap.com/ 提供的免费 Bootstrap 4 模板。