bytehead / contao-4-demo
Contao开源CMS
1.0.0
2016-05-05 11:46 UTC
Requires
- php: >=5.5.0
- contao/contao: ~4.1
- doctrine/annotations: ^1.2.7
- incenteev/composer-parameter-handler: ~2.0
- lexik/maintenance-bundle: ~2.0
- monolog/monolog: ~1.12
- sensio/distribution-bundle: ^3.0.12
- sensio/framework-extra-bundle: ^3.0.2
- symfony/console: ~2.8
- symfony/http-foundation: ~2.8
- symfony/monolog-bundle: ~2.8
- symfony/security: ~2.8
- symfony/swiftmailer-bundle: ~2.3
- symfony/symfony: ~2.8
This package is auto-updated.
Last update: 2024-08-29 04:19:53 UTC
README
这是一个Contao开源CMS的示例网站。访问项目网站获取更多信息。
包含什么?
Contao标准版默认配置如下
- Twig作为模板引擎;
- Doctrine DBAL;
- Swiftmailer;
- 所有功能都启用了注解。
它预配置了以下Symfony组件包
- FrameworkBundle - 核心Symfony框架组件包
- SecurityBundle - 集成Symfony的安全组件
- TwigBundle - 添加对Twig模板引擎的支持
- MonologBundle - 添加对Monolog日志库的支持
- SwiftmailerBundle - 添加对Swiftmailer的支持
- DoctrineBundle - 添加对Doctrine ORM的支持
- LexikMaintenanceBundle - 允许切换维护模式
- SensioFrameworkExtraBundle - 添加各种注解功能
- DebugBundle(在dev/test环境中)- 添加
dump()
函数 - WebProfilerBundle(在dev/test环境中)- 添加网络调试工具栏
- SensioDistributionBundle(在dev/test环境中)- 添加配置和操作Symfony分发的功能
它还预配置了以下Contao组件包
- ContaoCoreBundle - Contao核心组件包
- ContaoCalendarBundle - Contao日历组件包
- ContaoCommentsBundle - Contao评论组件包
- ContaoFaqBundle - Contao常见问题解答组件包
- ContaoListingBundle - Contao列表组件包
- ContaoNewsBundle - Contao新闻组件包
- ContaoNewsletterBundle - Contao新闻通讯组件包
- ContaoInstallationBundle - Contao安装组件包
Contao官方演示包括
- 一个可用的Contao4数据库备份
- 所有需要的文件
- 所有需要的资产(scss/js)
如何使用它
- 使用composer创建项目:
composer create-project bytehead/contao-4-demo contao-4-demo
- 启动包含的web服务器:
php app/console server:start
- 安装contao:
http://127.0.0.1:8000/install.php
- 导入sql备份:
mysql -u user -p password contao4_database < dump.sql
- 进入后台:
http://127.0.0.1:8000/contao
- 使用用户
k.jones
和密码kevinjones
登录 - 在
http://127.0.0.1:8000
查看您的Contao 4演示
享受吧!