2rm / 2rm-framework
Two Rivers Marketing Development的基础项目
1.7
2020-02-14 20:59 UTC
Requires
- composer-plugin-api: ^1.0
- 2rm/2rm-framework: ^1.5
- craftcms/cms: 3.3.17
- craftcms/contact-form: 2.2.5
- craftcms/contact-form-honeypot: 1.0.2
- craftcms/element-api: 2.6.0
- craftcms/google-cloud: 1.3.0
- craftcms/redactor: 2.4.0
- nystudio107/craft-cookies: 1.1.11
- nystudio107/craft-retour: 3.1.29
- nystudio107/craft-richvariables: 1.0.21
- nystudio107/craft-seomatic: 3.2.35
- rias/craft-contact-form-extensions: 1.2.0
- spicyweb/craft-neo: 2.5.8
- verbb/field-manager: 2.1.0
- verbb/navigation: 1.1.14.1
- vlucas/phpdotenv: ^2.4.0
- 1.7
- 1.6
- 1.5
- 1.4
- 1.3
- 1.2
- 1.1
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/pug-code-gen-2.0.3
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/jquery-3.5.0
This package is auto-updated.
Last update: 2024-09-10 22:06:24 UTC
README
关于Craft CMS
Craft是一个以内容为中心的CMS,旨在为开发人员和内容管理人员提供愉快的体验。它针对定制网站和应用开发进行了优化,为开发者提供了一个干净的起点来构建他们想要的任何内容,而不是与主题抗争。
了解更多关于Craft的信息,请访问craftcms.com。
资源
社区资源
- Mijingo – 视频课程和其他学习资源
- Envato Tuts+ – 视频课程
- Straight Up Craft – 文章、教程等
- pluginfactory.io – Craft插件脚手架生成器
知名插件
- SEOMatic - 为Craft CMS提供的全面、强大且灵活的SEO实现。
- Neo - Neo是基于Matrix字段类型概念的一个Craft CMS字段类型,它具有许多非常有用的功能。Neo经过精心设计(有意为之),以确保它与Craft的外观和感觉相匹配。
- Retour - Retour允许您智能地重定向旧URL,这样在重建和重构网站时就不会丢失SEO价值。
前端开发
从项目根目录运行npm install
以安装项目依赖项。
运行静态构建grunt static
服务器部署脚本:grunt build-static
此项目使用Grunt构建和编译CSS和JavaScript资产。要构建项目,从_src目录运行grunt
以构建和监视CSS、JS和Twig文件。
知名包
包含的JavaScript库
Craft开发
复制local.env
并重命名为.env
。相应配置;此文件不会提交到版本控制。
从项目根目录运行composer install
创建数据库的本地副本并将最近找到的数据库导入到_src/_db中
对于Craft开发:grunt dev
服务器部署脚本:grunt prod
数据库位置
_src/_db
服务器环境
预发布
Craft管理员账户
用户名:support@2rm.com
密码:2rmdev