From 00bc3da51fbc0a6231d08c85a44df5762f9c5545 Mon Sep 17 00:00:00 2001 From: mcinp Date: Wed, 2 Apr 2014 10:10:17 +0200 Subject: Update HelloWorld.page prado-cli.php moved to /bin --- demos/quickstart/protected/pages/GettingStarted/HelloWorld.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/GettingStarted/HelloWorld.page b/demos/quickstart/protected/pages/GettingStarted/HelloWorld.page index 557aa46d..d65cf7f8 100755 --- a/demos/quickstart/protected/pages/GettingStarted/HelloWorld.page +++ b/demos/quickstart/protected/pages/GettingStarted/HelloWorld.page @@ -29,7 +29,7 @@ where each directory is explained as follows. Note, the above directory structur
-Tip:You may also use the framework/prado-cli.php +Tip:You may also use the bin/prado-cli.php (framework/prado-cli.php for Prado < 3.2.3) command line script to create the Prado project directory structure. For example, type the command php path/to/prado-cli.php -c helloworld in the directory -- cgit v1.2.3 From 888f241829e8922e95c5c925a192a50fe34264cd Mon Sep 17 00:00:00 2001 From: mcinp Date: Wed, 2 Apr 2014 10:19:24 +0200 Subject: Update CommandLine.page prado-cli.php moved to /bin --- .../protected/pages/GettingStarted/CommandLine.page | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page index 07609da5..3619d3d9 100644 --- a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page +++ b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page @@ -1,6 +1,12 @@

Command Line Tool

-

The optional prado-cli.php PHP script file in the framework + +

+Note: With Prado version 3.2.3 prado-cli.php location changed from framework +to bin directory. If you're using Prado 3.2.2 or earlier, replace bin with framework in examples below. +
+ +

The optional prado-cli.php PHP script file in the bin directory provides command line tools to perform various tedious takes in Prado. The prado-cli.php can be used to create Prado project skeletons, create initial test fixtures, and access to an interactive PHP shell. @@ -14,7 +20,7 @@ the command line.

Usage

-If you type php path/to/framework/prado-cli.php, you should see +If you type php path/to/bin/prado-cli.php, you should see the following information. Alternatively, if you are not on Windows, you may try to change the prado-cli.php into an executable and execute it as a script

@@ -43,9 +49,9 @@ are optional parameters.

To create a Prado project skeleton, do the following:

  1. Change to the directory where you want to create the project skeleton.
  2. -
  3. Type, php ../prado/framework/prado-cli.php -c helloworld, where +
  4. Type, php ../prado/bin/prado-cli.php -c helloworld, where helloworld is the directory name that you want to create the project skeleton files.
  5. -
  6. Type, php ../prado/framework/prado-cli.php -t helloworld to create +
  7. Type, php ../prado/bin/prado-cli.php -t helloworld to create the test fixtures for the helloworld project.
@@ -58,7 +64,7 @@ command line is in the prado distribution directory and you type.

-$: php framework/prado-cli.php shell demos/blog +$: php bin/prado-cli.php shell demos/blog The output should be -- cgit v1.2.3