Changeset 1479

Show
Ignore:
Timestamp:
10/24/2006 06:11:08 AM (2 years ago)
Author:
xue
Message:

Typo fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/3.0/demos/quickstart/protected/pages/GettingStarted/CommandLine.page

    r1447 r1479  
    22<h1 id="501">Command Line Tool</h1> 
    33<p>The optional <tt>prado-cli.php</tt> PHP script file in the <tt>framework</tt> 
    4 directory provides command line tools to perform various tendious taks in Prado. 
     4directory provides command line tools to perform various tedious takes in Prado. 
    55The <tt>prado-cli.php</tt> can be used to create Prado project skeletons, create 
    66initial test fixtures, and access to an interactive PHP shell. 
     
    4545        <li>Change to the directory where you want to create the project skeleton.</li> 
    4646        <li>Type, <tt>php ../prado/framework/prado-cli.php -c helloworld</tt>, where 
    47         <tt>hellowworld</tt> is the directory name that you want to create the project skeleton files.</li> 
     47        <tt>helloworld</tt> is the directory name that you want to create the project skeleton files.</li> 
    4848        <li>Type, <tt>php ../prado/framework/prado-cli.php <b>-t</b> helloworld</tt> to create 
    4949        the test fixtures for the <tt>helloworld</tt> project.</li> 
     
    5252<h2 id="505">Interactive Shell</h2> 
    5353<p> 
    54 The interactive shell allows you to evaluate PHP statements from te command line. 
     54The interactive shell allows you to evaluate PHP statements from the command line. 
    5555The <tt>prado-cli.php</tt> script can be used to start the shell and load an existing 
    5656Prado project. For example, let us load the blog demo project. Assume that your 
     
    6464<com:TTextHighlighter Language="cli" CssClass="source"> 
    6565Command line tools for Prado 3.0.5. 
    66 ** Loaded Prado appplication in directory "demos\blog\protected". 
     66** Loaded Prado application in directory "demos\blog\protected". 
    6767PHP-Shell - Version 0.3.1 
    6868(c) 2006, Jan Kneschke <jan@kneschke.de> 
     
    7474Then we will get an instance of the Prado blog application, and from 
    7575that instance we want an instance of the <tt>'data'</tt> module. Notice that 
    76 a <b>semicolon</b> at the end of the line <b>supresses the output</b>. 
     76a <b>semicolon</b> at the end of the line <b>suppresses the output</b>. 
    7777 
    7878<com:TTextHighlighter Language="cli" CssClass="source"> 
     
    9898    [Content] => 'Congratulations! You have successfully installed Prado Blog -- 
    9999 a PRADO-driven weblog system. A default administrator account has been created. 
    100  Please login with <b>admin/prado</b> and update your password as soon as possib 
    101 le.' 
     100 Please login with <b>admin/prado</b> and update your password as soon as possible.' 
    102101    [Status] => 0 
    103102    [CommentCount] => 0