powerkernel/yii2-skeleton
Composer 安装命令:
composer create-project powerkernel/yii2-skeleton
包简介
Yii 2 Skeleton Project Template
README 文档
README
Yii 2 Skeleton is a skeleton (based on Yii 2 App Advanced) application best for developing complex Web applications with multiple tiers.
The template includes 4 tiers: front end, back end, api and console, each of which is a separate Yii application.
The template is designed to work in a team development environment. It supports deploying the application in different environments.
Note: Yii 2 Skeleton only supports MongoDB
INSTALLATION
- Unzip repository, edit composer.json to suit your needs, then run
composer updateorcomposer update --prefer-source - Run
init, update your database information,baseUrlin common/config/mail-local.php - Run
php yii mongodb-migrate --migrationPath=@console/migrations - Run
php yii setup - Go to frontend and sign up for new account, admin role will be auto assigned
- Go to backend and update all settings (reCaptcha, API, SMTP...)
- Generate icons from http://realfavicongenerator.net/, upload favicon.ico to the root of your web site (frontend and backend)
- (optional) update
gitHubPagein common/config/params-local.php if you want to use github to host favicon and images.
Web server config
frontend/web => domain.com backend/web => backend.domain.com api/web => api.domain.com
Google Login Authorized redirect URIs
https://domain.com/account/auth?authclient=google https://backend.domain.com/account/login/google
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-12-01