yuncms / yuncms-app-advanced
Yuncms Advanced Project Template
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- xutl/yii2-aliyun: ~2.0
- xutl/yii2-back-to-top-widget: ~1.0
- xutl/yii2-dingtalk: ~1.0
- xutl/yii2-fontawesome-asset: ~2.0.0
- xutl/yii2-id98: ~1.0.0
- xutl/yii2-payment: 1.0.x-dev
- yiisoft/yii2: ~2.0.13
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-httpclient: ~2.0.0
- yiisoft/yii2-jui: ~2.0
- yiisoft/yii2-queue: ~2.0.0
- yiisoft/yii2-redis: ~2.0.0
- yiisoft/yii2-sphinx: ~2.0.0
- yiisoft/yii2-swiftmailer: ~2.1.0
- yuncms/yuncms-admin: ~2.0.0
- yuncms/yuncms-article: ~2.0.0
- yuncms/yuncms-attachment: ~2.0.0
- yuncms/yuncms-attention: ~2.0.0
- yuncms/yuncms-authentication: ~2.0.0
- yuncms/yuncms-coin: ~2.0.0
- yuncms/yuncms-collection: ~2.0.0
- yuncms/yuncms-comment: ~2.0.0
- yuncms/yuncms-credit: ~2.0.0
- yuncms/yuncms-im: ~2.0.0
- yuncms/yuncms-message: ~2.0.0
- yuncms/yuncms-news: ~2.0.0
- yuncms/yuncms-notification: ~2.0.0
- yuncms/yuncms-payment: 2.0.0.x-dev
- yuncms/yuncms-question: ~2.0.0
- yuncms/yuncms-support: ~2.0.0
- yuncms/yuncms-tag: ~2.0.0
- yuncms/yuncms-user: ~2.0.0
Requires (Dev)
- codeception/base: ^2.2.3
- codeception/verify: ~0.3.1
- yiisoft/yii2-debug: ~2.0.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.0.0
This package is auto-updated.
Last update: 2024-11-11 03:23:21 UTC
README
Run from source
- Install satis:
composer create-project yuncms/yuncms-app-advanced:dev-master --keep-vcs
- Build a repository:
php init
Documentation is at docs/README.md.
Run as Docker container
Pull the image:
docker pull yuncms/yuncms-app-advanced
Manually deploy
git clone git@git.qcloud.com:yuncms/yuncms.git /home/yuncms/yuncms
cd /home/yuncms/yuncms
composer install --prefer-dist --optimize-autoloader -vvv
php init --env=Production --overwrite=y
php yii migrate
ln -s /home/yuncms/yuncms/nginx.conf /usr/local/etc/nginx/sites-enabled/www.yuncms.net.conf
目录结构
api
config/ 包含API置
controllers/ 包含API控制器类
models/ 包含API特定的模型类
modules/ 包含API相关模块
runtime/ 包含运行时生成的文件
web/ 包含相关脚本和Web资源
common
config/ 包含共享配置
mail/ 包含电子邮件的视图文件
models/ 包含后端和前端中使用的模型类
console
config/ 包含控制台配置
controllers/ 包含控制台控制器(命令)
migrations/ 包含数据库迁移
models/ 包含控制台特定的模型类
runtime/ 包含运行时生成的文件
backend
assets/ 包含应用程序资源(如JavaScript和CSS)
config/ 包含后端配置
controllers/ 包含Web控制器类
models/ 包含后端特定的模型类
runtime/ 包含运行时生成的文件
views/ 包含Web应用程序的视图文件
web/ 包含相关脚本和Web资源
frontend
assets/ 包含应用程序资源(如JavaScript和CSS)
config/ 包含前端配置
controllers/ 包含Web控制器类
models/ 包含前端特定的模型类
runtime/ 包含运行时生成的文件
views/ 包含Web应用程序的视图文件
web/ 包含相关脚本和Web资源
widgets/ 包含前端小部件
vendor/ 包含相关的第三方软件包
environments/ 包含基于环境的覆盖
tests 包含应用程序的各种测试
codeception/ 包含使用Codeception PHP测试框架开发的测试