Generate Yii framework application also with VCS files
Everybody knows that Yii framework has nice command runner (an yiic
command).
But, did you notice what was added in version 1.1.11?
WebAppCommand has ability to generate fresh application with git or hg specific files.
It's pretty simple.
Go to protected
directory and run yiic
command:
path-to-framework/protected$ ./yiic webapp <app-path> [<vcs>]
To all directories which are required will be generated VCS files like .hgkeep
or .gitkeep
.
- current version (1.1.13) of WebAppCommand.php
Written by Vladimír Kriška
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#