Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\Users\HP-14>composer config --global github-oauth.github.com 5c0cab55bca3f6cd 63c4efef------------ C:\Users\HP-14>composer ______ / ____/___ ____ ___ ____ ____ ________ _____ / / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/ / /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ / \____/\____/_/ /_/ /_/ .___/\____/____/\___/_/ /_/ Composer version 1.0-dev (72cd6afdfce16f36a9fd786bc1b2f32b851e764f) 2015-12-28 1 7:35:19 Usage: command [options] [arguments] Options: -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question --profile Display timing and memory usage information -d, --working-dir=WORKING-DIR If specified, use the given directory as workin g directory. -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for norma l output, 2 for more verbose output and 3 for debug Available commands: about Short information about Composer archive Create an archive of this composer package browse Opens the package's repository URL or homepage in your browser . clear-cache Clears composer's internal package cache. clearcache Clears composer's internal package cache. config Set config options create-project Create new project from a package into given directory. depends Shows which packages depend on the given package diagnose Diagnoses the system to identify common errors. dump-autoload Dumps the autoloader dumpautoload Dumps the autoloader global Allows running commands in the global composer dir ($COMPOSER_ HOME). help Displays help for a command home Opens the package's repository URL or homepage in your browser . info Show information about packages init Creates a basic composer.json file in current directory. install Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json. licenses Show information about licenses of dependencies list Lists commands remove Removes a package from the require or require-dev require Adds required packages to your composer.json and installs them run-script Run the scripts defined in composer.json. search Search for packages self-update Updates composer.phar to the latest version. selfupdate Updates composer.phar to the latest version. show Show information about packages status Show a list of locally modified packages suggests Show package suggestions update Updates your dependencies to the latest version according to c omposer.json, and updates the composer.lock file. validate Validates a composer.json and composer.lock C:\Users\HP-14>cd f:\xampp\htdocs C:\Users\HP-14>F: f:\xampp\htdocs>composer create-project --prefer-dist yiisoft/yii2-app-basic Installing yiisoft/yii2-app-basic (2.0.6) [InvalidArgumentException] Project directory F:/xampp/htdocs/yii2-app-basic/ is not empty. create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--r epository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-ins tallers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-pl atform-reqs] [--] [] [ ] [ ] f:\xampp\htdocs>composer create-project --prefer-dist yiisoft/yii2-app-basic Installing yiisoft/yii2-app-basic (2.0.6) - Installing yiisoft/yii2-app-basic (2.0.6) Loading from cache Created project in F:\xampp\htdocs\yii2-app-basic Loading composer repositories with package information Installing dependencies (including require-dev) - Installing yiisoft/yii2-composer (2.0.4) Downloading: 100% - Installing ezyang/htmlpurifier (v4.6.0) Downloading: 100% - Installing bower-asset/jquery (2.1.4) Downloading: 100% - Installing bower-asset/yii2-pjax (v2.0.5) Downloading: 100% - Installing bower-asset/punycode (v1.3.2) Downloading: 100% - Installing bower-asset/jquery.inputmask (3.1.63) Downloading: 100% - Installing cebe/markdown (1.1.0) Downloading: 100% - Installing yiisoft/yii2 (2.0.6) Downloading: 100% - Installing swiftmailer/swiftmailer (v5.4.1) Downloading: 100% - Installing yiisoft/yii2-swiftmailer (2.0.4) Downloading: 100% - Installing yiisoft/yii2-codeception (2.0.4) Downloading: 100% - Installing bower-asset/bootstrap (v3.3.5) Downloading: 100% - Installing yiisoft/yii2-bootstrap (2.0.5) Downloading: 100% - Installing yiisoft/yii2-debug (2.0.5) Downloading: 100% - Installing bower-asset/typeahead.js (v0.10.5) Downloading: 100% - Installing phpspec/php-diff (v1.0.2) Downloading: 100% - Installing yiisoft/yii2-gii (2.0.4) Downloading: 100% - Installing fzaninotto/faker (v1.5.0) Downloading: 100% - Installing yiisoft/yii2-faker (2.0.3) Downloading: 100% fzaninotto/faker suggests installing ext-intl (*) Writing lock file Generating autoload files > yii\composer\Installer::postCreateProject chmod('runtime', 0777)...done. chmod('web/assets', 0777)...done. chmod('yii', 0755)...done. f:\xampp\htdocs>composer create-project --prefer-dist yiisoft/yii2-app-advanced Installing yiisoft/yii2-app-advanced (2.0.6) - Installing yiisoft/yii2-app-advanced (2.0.6) Downloading: 100% Created project in F:\xampp\htdocs\yii2-app-advanced Loading composer repositories with package information Installing dependencies (including require-dev) - Installing yiisoft/yii2-composer (2.0.4) Loading from cache - Installing ezyang/htmlpurifier (v4.6.0) Loading from cache - Installing cebe/markdown (1.1.0) Loading from cache - Installing bower-asset/jquery (2.1.4) Loading from cache - Installing bower-asset/jquery.inputmask (3.1.63) Loading from cache - Installing bower-asset/punycode (v1.3.2) Loading from cache - Installing bower-asset/yii2-pjax (v2.0.5) Loading from cache - Installing yiisoft/yii2 (2.0.6) Loading from cache - Installing swiftmailer/swiftmailer (v5.4.1) Loading from cache - Installing yiisoft/yii2-swiftmailer (2.0.4) Loading from cache - Installing yiisoft/yii2-codeception (2.0.4) Loading from cache - Installing bower-asset/bootstrap (v3.3.5) Loading from cache - Installing yiisoft/yii2-bootstrap (2.0.5) Loading from cache - Installing yiisoft/yii2-debug (2.0.5) Loading from cache - Installing bower-asset/typeahead.js (v0.10.5) Loading from cache - Installing phpspec/php-diff (v1.0.2) Loading from cache - Installing yiisoft/yii2-gii (2.0.4) Loading from cache - Installing fzaninotto/faker (v1.5.0) Loading from cache - Installing yiisoft/yii2-faker (2.0.3) Loading from cache fzaninotto/faker suggests installing ext-intl (*) Writing lock file Generating autoload files f:\xampp\htdocs>cd yii2-app-advanced f:\xampp\htdocs\yii2-app-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. E:\xampp\htdocs\yii2-app-advanced>yii migrate Yii Migration Tool (based on Yii v2.0.7) Creating migration history table "migration"...Done. Total 1 new migration to be applied: m130524_201442_init Apply the above migration? (yes|no) [no]:yes *** applying m130524_201442_init > create table {{%user}} ... done (time: 0.641s) *** applied m130524_201442_init (time: 0.788s) 1 migration was applied. Migrated up successfully. E:\xampp\htdocs\yii2-app-advanced>
Monday, February 8, 2016
Yii2 install
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment