yii2高级版的初始化方法-创新互联
这篇文章主要介绍yii2高级版的初始化方法,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!
创新互联是专业的彭泽网站建设公司,彭泽接单;提供成都网站建设、成都做网站,网页设计,网站设计,建网站,PHP网站建设等专业做网站服务;采用PHP框架,可快速的进行彭泽网站开发网页制作和功能扩展;专业做搜索引擎喜爱的网站,专业的做网站团队,希望更多企业前来合作!初始化yii2环境需要执行脚本:(在yii2的根目录下面)
./init
执行过程中的log如下:
[root@nsyong advanced]# ls backend common composer.json composer.lock console environments frontend init init.bat LICENSE.md README.md requirements.php tests vendor yii.bat [root@nsyong advanced]# ./init Yii Application Initialization Tool v1.0 Which environment do you want the application to be initialized in? [0] Development [1] Production Your choice [0-1, or "q" to quit] 0 Initialize the application under 'Development' environment? [yes|no] yes Start initialization ... generate backend/config/main-local.php generate backend/config/params-local.php generate backend/web/index.php generate backend/web/index-test.php generate frontend/config/main-local.php generate frontend/config/params-local.php generate frontend/web/index.php generate frontend/web/index-test.php generate console/config/main-local.php generate console/config/params-local.php generate yii generate common/config/main-local.php generate common/config/params-local.php generate cookie validation key in backend/config/main-local.php generate cookie validation key in frontend/config/main-local.php chmod 0777 backend/runtime chmod 0777 backend/web/assets chmod 0777 frontend/runtime chmod 0777 frontend/web/assets chmod 0755 yii chmod 0755 tests/codeception/bin/yii ... initialization completed. [root@nsyong advanced]# ls backend common composer.json composer.lock console environments frontend init init.bat LICENSE.md README.md requirements.php tests vendor yii yii.bat
初始化完成后,会出现yii文件,以及其他的一些文件初始化配置,以及修改文件权限等等。
以上是“yii2高级版的初始化方法”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注创新互联行业资讯频道!
网站名称:yii2高级版的初始化方法-创新互联
链接分享:http://hbruida.cn/article/hhics.html