p2made/p2y2-a6e
Composer 安装命令:
composer create-project p2made/p2y2-a6e
包简介
6 application ends for Yii 2 Advanced
README 文档
README
Installation
One... create a new Yii2 Advanced project by running...
composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application
Two Before running init, either...
Depending on your Composer setup, run one of the following commands:
composer require p2made/p2y2-a6e "^5.0"
or
php composer.phar require p2made/p2y2-a6e "^5.0"
or add:
"p2made/p2y2-a6e": "^5.0"
to the requires section of your composer.json & run composer update.
p2y2-a6e installs...
p2made/p2y2-things
p2made/p2y2-things-demo
p2made/p2y2-startbootstrap-themes
p2made/p2y2-sb-admin-theme
Three... run...
cp -r ./vendor/p2made/p2y2-a6e/environments ./
The environments folder will be replaced.
Four... run ./init as usual.
Init to dev will replace some files. Select All when prompted. If you're going straight to a prod install for any reason, init to dev first so that these files do get replaced.
You now have application ends folders...
api/
assets/
backend/
frontend/
If there are any application ends that you won't use, you can delete those folders, along with some extra deletions in config edits that follow.
Four... edit some config files...
In common/config/bootstrap.php edit the last line...
Yii::setAlias('assetsUrl', 'http://static.a4e-dev.dev');
to have the URL for your static/assets application end.
If you're discarding any ends, delete the lines setting aliases for them.
In common/config/main.php edit the $_urlBase... values at the top according to your server configuration.
If you're discarding any ends, delete the corresponding lines here, & also the lines below settung urlManagers for them.
In common/config/params.php edit the reverseDomain value according to your server configuration.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-11