Skip to content

Instantly share code, notes, and snippets.

@des1roer
Created June 18, 2015 13:50
Show Gist options
  • Save des1roer/e69582b41ef936cb9675 to your computer and use it in GitHub Desktop.
Save des1roer/e69582b41ef936cb9675 to your computer and use it in GitHub Desktop.
yii 2 advanced
F:\OpenServer\domains\localhost\composer>cd F:\OpenServer\domains\localhost\composer\advanced
F:\OpenServer\domains\localhost\composer\advanced>php 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-test.php
generate backend/web/index.php
generate common/config/main-local.php
generate common/config/params-local.php
generate console/config/main-local.php
generate console/config/params-local.php
generate frontend/config/main-local.php
generate frontend/config/params-local.php
generate frontend/web/index-test.php
generate frontend/web/index.php
generate yii
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.
F:\OpenServer\domains\localhost\composer\advanced>
----------
http://localhost/composer/advanced/frontend/web/index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment