Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9acbd0cf
Commit
9acbd0cf
authored
Jun 03, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #473 from schmunk42/master
updated script event
parents
5596e50b
2698ba1c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
18 deletions
+42
-18
README.md
apps/advanced/README.md
+15
-0
composer.json
apps/advanced/composer.json
+1
-4
composer.lock
apps/advanced/composer.lock
+5
-5
README.md
apps/basic/README.md
+15
-0
composer.json
apps/basic/composer.json
+1
-4
composer.lock
apps/basic/composer.lock
+5
-5
No files found.
apps/advanced/README.md
View file @
9acbd0cf
...
@@ -79,6 +79,21 @@ php composer.phar create-project --stability=dev yiisoft/yii2-app-advanced yii-a
...
@@ -79,6 +79,21 @@ php composer.phar create-project --stability=dev yiisoft/yii2-app-advanced yii-a
This is not currently available. We will provide it when Yii 2 is formally released.
This is not currently available. We will provide it when Yii 2 is formally released.
### Install from development repository
If you've cloned the
[
Yii 2 framework main development reop
](
https://github.com/yiisoft/yii2
)
you
can bootstrap your application with:
~~~
cd yii2/apps/advanced
php composer.phar create-project
~~~
*
Note: If the above command fails with
`[RuntimeException] Not enough arguments.`
run
`php composer.phar self-update`
to obtain an updated version of composer which supports creating projects
from local packages.
*
GETTING STARTED
GETTING STARTED
---------------
---------------
...
...
apps/advanced/composer.json
View file @
9acbd0cf
...
@@ -19,10 +19,7 @@
...
@@ -19,10 +19,7 @@
"yiisoft/yii2-composer"
:
"dev-master"
"yiisoft/yii2-composer"
:
"dev-master"
},
},
"scripts"
:
{
"scripts"
:
{
"post-install-cmd"
:
[
"post-create-project-cmd"
:
[
"yii
\\
composer
\\
InstallHandler::setPermissions"
],
"post-update-cmd"
:
[
"yii
\\
composer
\\
InstallHandler::setPermissions"
"yii
\\
composer
\\
InstallHandler::setPermissions"
]
]
},
},
...
...
apps/advanced/composer.lock
View file @
9acbd0cf
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"This file locks the dependencies of your project to a known state",
"This file locks the dependencies of your project to a known state",
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
],
],
"hash": "
05f7bcd0e99931b52415eaeb62d54daf
",
"hash": "
2d1053fbaaf2044054f273a71d0ccde0
",
"packages": [
"packages": [
{
{
"name": "yiisoft/yii2",
"name": "yiisoft/yii2",
...
@@ -11,12 +11,12 @@
...
@@ -11,12 +11,12 @@
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/yiisoft/yii2-framework.git",
"url": "https://github.com/yiisoft/yii2-framework.git",
"reference": "
2d93f20ba6044ac3f1957300c4ae85fd98ecf47d
"
"reference": "
3ad6334be076a80df3b2ea0b57f38bd0c6901989
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/
2d93f20ba6044ac3f1957300c4ae85fd98ecf47d
",
"url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/
3ad6334be076a80df3b2ea0b57f38bd0c6901989
",
"reference": "
2d93f20ba6044ac3f1957300c4ae85fd98ecf47d
",
"reference": "
3ad6334be076a80df3b2ea0b57f38bd0c6901989
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
"framework",
"framework",
"yii"
"yii"
],
],
"time": "2013-0
5-29 02:55:14
"
"time": "2013-0
6-02 19:19:29
"
},
},
{
{
"name": "yiisoft/yii2-composer",
"name": "yiisoft/yii2-composer",
...
...
apps/basic/README.md
View file @
9acbd0cf
...
@@ -59,3 +59,18 @@ assuming `yii-basic` is directly under the document root of your Web server.
...
@@ -59,3 +59,18 @@ assuming `yii-basic` is directly under the document root of your Web server.
### Install from an Archive File
### Install from an Archive File
This is not currently available. We will provide it when Yii 2 is formally released.
This is not currently available. We will provide it when Yii 2 is formally released.
### Install from development repository
If you've cloned the
[
Yii 2 framework main development reop
](
https://github.com/yiisoft/yii2
)
you
can bootstrap your application with:
~~~
cd yii2/apps/basic
php composer.phar create-project
~~~
*
Note: If the above command fails with
`[RuntimeException] Not enough arguments.`
run
`php composer.phar self-update`
to obtain an updated version of composer which supports creating projects
from local packages.
*
apps/basic/composer.json
View file @
9acbd0cf
...
@@ -19,10 +19,7 @@
...
@@ -19,10 +19,7 @@
"yiisoft/yii2-composer"
:
"dev-master"
"yiisoft/yii2-composer"
:
"dev-master"
},
},
"scripts"
:
{
"scripts"
:
{
"post-install-cmd"
:
[
"post-create-project-cmd"
:
[
"yii
\\
composer
\\
InstallHandler::setPermissions"
],
"post-update-cmd"
:
[
"yii
\\
composer
\\
InstallHandler::setPermissions"
"yii
\\
composer
\\
InstallHandler::setPermissions"
]
]
},
},
...
...
apps/basic/composer.lock
View file @
9acbd0cf
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"This file locks the dependencies of your project to a known state",
"This file locks the dependencies of your project to a known state",
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
],
],
"hash": "
0411dbbd774aa1c89256c77c68023940
",
"hash": "
91ba258de768b93025f86071f3bb4b84
",
"packages": [
"packages": [
{
{
"name": "yiisoft/yii2",
"name": "yiisoft/yii2",
...
@@ -11,12 +11,12 @@
...
@@ -11,12 +11,12 @@
"source": {
"source": {
"type": "git",
"type": "git",
"url": "https://github.com/yiisoft/yii2-framework.git",
"url": "https://github.com/yiisoft/yii2-framework.git",
"reference": "
2d93f20ba6044ac3f1957300c4ae85fd98ecf47d
"
"reference": "
3ad6334be076a80df3b2ea0b57f38bd0c6901989
"
},
},
"dist": {
"dist": {
"type": "zip",
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/
2d93f20ba6044ac3f1957300c4ae85fd98ecf47d
",
"url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/
3ad6334be076a80df3b2ea0b57f38bd0c6901989
",
"reference": "
2d93f20ba6044ac3f1957300c4ae85fd98ecf47d
",
"reference": "
3ad6334be076a80df3b2ea0b57f38bd0c6901989
",
"shasum": ""
"shasum": ""
},
},
"require": {
"require": {
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
"framework",
"framework",
"yii"
"yii"
],
],
"time": "2013-0
5-29 02:55:14
"
"time": "2013-0
6-02 19:19:29
"
},
},
{
{
"name": "yiisoft/yii2-composer",
"name": "yiisoft/yii2-composer",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment