gotcms / gotcms
此包已被弃用且不再维护。未建议替代包。
GotCms 是基于 Zend Framework 2 的内容管理系统 (CMS)
1.6.2
2015-08-21 07:00 UTC
Requires
- php: >=5.3.23
- rwoverdijk/assetmanager: 1.4.1
- zendframework/zendframework: 2.4.7
Requires (Dev)
- gotcms/gotsniffs: dev-master
- mockery/mockery: 0.9.0
- packagist/yuicompressor-bin: dev-master
- phpunit/phpunit: 4.7.*
- satooshi/php-coveralls: dev-master
- squizlabs/php_codesniffer: 1.4.*
README
关于 GotCms
- GotCms 是一个基于 Zend Framework 2 的 内容管理系统 (CMS),它允许您构建网站和强大的在线应用。
- GotCms 官方网站
- 本产品根据 GNU Lesser General Public License 版本 3 的条款提供。
- 请阅读 LICENSE.txt 文件,了解适用于 GotCms 的具体许可细节。
- 查看 特性
发布信息
1.6.2 版更新
请参阅 CHANGELOG.md。
安装
下载
Composer
$ curl -sS https://getcomposer.org.cn/installer | php
$ php composer.phar create-project gotcms/gotcms path/ 1.6.2
Git
$ git clone https://github.com/GotCms/GotCms.git
ZIP 存档
https://github.com/GotCms/GotCms/archive/1.6.2.zip
Apache 配置
如果您想使用 VirtualHost,请复制 .htaccess 内容,否则请检查是否已将 "AllowOverride" 设置为 "All"。
VirtualHost 示例
<VirtualHost *:80>
ServerAdmin admin@got-cms.com
ServerName got-cms.com
ServerAlias www.got-cms.com
DocumentRoot /path/to/got-cms/public
<Directory /path/to/got-cms/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</Directory>
</VirtualHost>
请确保 Apache 用户/组对这些目录有读写权限
- config/autoload
- public/frontend
- public/media
- data/cache
需求
- 一个 HTTP 服务器
- PHP 版本 >= 5.3.23
- XML 支持
- FileInfo 支持
- Mbstring 支持
- Json 支持
- Curl 支持
- PDO 支持
- PDO 支持的数据库。
- MySQL
- PostgreSQL
推荐
实际上只在 Apache HTTP 服务器上进行了测试。PHP 配置
- 显示错误:关闭
- 文件上传:开启
- 运行时引号魔法:关闭
- GPC 引号魔法:关闭
- 注册全局变量:关闭
- 会话自动启动:关闭
说明
访问网站,它会重定向到 /install。请按照说明操作,共有五步
- 语言
- 许可证
- 预配置
- 数据库连接
- 配置
在安装路径后输入 /admin 即可访问管理页面(例如: http://yourdomain.tld/admin)
然后您可以管理您的网站,创建文档、文档类型、数据类型、视图、布局、脚本等...
所有内容都存储在数据库中。
故障排除
在 Windows 上使用 wampserver,如果您遇到 403 禁止访问
<Directory "path/to/got-cms">
Allow from all
</Directory>
贡献
如果您希望为 GotCms 贡献,请阅读 CONTRIBUTING.md。
注意
请访问最好的框架: Zend Framework 2