承接 bartaakos/yii-skeleton 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bartaakos/yii-skeleton

Composer 安装命令:

composer create-project bartaakos/yii-skeleton

包简介

Basic Yii skeleton

关键字:

README 文档

README

This is a basic skeleton for Yii applications enhanced with composer.

Installation

For project initialization you can run simply the command below:

$ composer create-project bartaakos/yii-skeleton MyNewProject

Keep in mind that you need to create the two configuration files (custom.php, params.php).

Static files

/web/assets
/vendor
/runtime
/config/custom.php
/config/params.php

The files listed above are ignored and you should handle them as static content.

Maintenance

nDeploy

This is a very convenient tool for high-level site maintenance.

For installation please check nDeploy's readme. The final build.properties should look like something like this:

;-- deploy basedir --
basedir=/home/my-new-project

;-- application --
application.name=my-new-project
application.framework=yii
;application.deploydir=/home/my-new-project/current
;application.repositorydir=/home/my-new-project/src/my-new-project
;application.releasesdir=/home/my-new-project/releases
application.releaseskept=10

;-- scm properties --
scm.type=git
scm.repository=repository-of-my-new-project.git
;scm.branch=master
;scm.git.extra.path.pull=


;-- shared files --
shared.files=config/custom.php,config/params.php,runtime,web/assets,vendor

;-- vendor --
vendor=composer
vendor.command=update

;-- yii framework properties --
application.framework.extra.migrate.command=./yiic
application.framework.extra.migrate=true
application.framework.extra.migrate.ask=false

;-- maintenance --
;maintenance=false
;maintenance.source=
;maintenance.destination=
;maintenance.remove=true

;-- hash --
;hash=true
;hash.file=

;-- lock --
;lock=true
;lock.file=

;-- ndpeloy build target's basedir --
ndeploy.basedir=/home/ndeploy/current

Note that I removed the yiic migration after composer update/install because we do that with nDeploy as you can see. If you need to get that back simply uncomment those lines in the params in console/console.php and set application.framework.extra.migrate to false in build.properties.

Credits

Netpositive

统计信息

  • 总下载量: 48
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-03-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固