![]() ![]() Unpack the downloaded file to a Web-accessible folder. then run the following command to php yii migrateĭownload the archive file from Yii-download To install Yii2 with advanced template run composer create-project -prefer-dist -stability=dev yiisoft/yii2-app-advanced advancedĪfter that create a new database and adjust the components configuration in common/config/main-local.php accordingly. composer create-project -prefer-dist -stability=dev yiisoft/yii2-app-basic basic Then run the following command to install Yii2 with basic template. With Composer installed, you can install Yii by running the following commands under a Web-accessible folder: composer global require "fxp/composer-asset-plugin:^1.2.0"Ĭomposer create-project -prefer-dist yiisoft/yii2-app-basic basic At any time, only one theme can be active. All themes reside under the same directory WebRoot/themes. ![]() The name of a theme is its directory name. You may have to configure the github API access token to overide Github API rate limit. In Yii, each theme is represented as a directory consisting of view files, layout files, and relevant resource files such as images, CSS files, JavaScript files, etc. On Linux and Mac OS X, you'll run the following commands: curl -sS | phpįor windows just download and install composer-setup.exe If you do not already have Composer installed, you may do so by following the instructions at. Installing via Composer Installing Composer ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |