summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/GettingStarted/CommandLine.page
diff options
context:
space:
mode:
authorxue <>2006-10-29 12:53:33 +0000
committerxue <>2006-10-29 12:53:33 +0000
commitb4403995107c4440b4e19dd5e5e8385e0eac2a5a (patch)
treeff5f709433ad4695f3ffd9726c4230efb60eacd7 /demos/quickstart/protected/pages/GettingStarted/CommandLine.page
parent5bd4f1f34bb08469d3e18727f9d39c53037c6424 (diff)
merge from 3.0 branch till 1481.
Diffstat (limited to 'demos/quickstart/protected/pages/GettingStarted/CommandLine.page')
-rw-r--r--demos/quickstart/protected/pages/GettingStarted/CommandLine.page15
1 files changed, 7 insertions, 8 deletions
diff --git a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page
index cf204a40..690de59b 100644
--- a/demos/quickstart/protected/pages/GettingStarted/CommandLine.page
+++ b/demos/quickstart/protected/pages/GettingStarted/CommandLine.page
@@ -1,7 +1,7 @@
<com:TContent ID="body" >
<h1 id="501">Command Line Tool</h1>
<p>The optional <tt>prado-cli.php</tt> PHP script file in the <tt>framework</tt>
-directory provides command line tools to perform various tendious taks in Prado.
+directory provides command line tools to perform various tedious takes in Prado.
The <tt>prado-cli.php</tt> can be used to create Prado project skeletons, create
initial test fixtures, and access to an interactive PHP shell.
</p>
@@ -44,14 +44,14 @@ are optional parameters. </p>
<ol>
<li>Change to the directory where you want to create the project skeleton.</li>
<li>Type, <tt>php ../prado/framework/prado-cli.php -c helloworld</tt>, where
- <tt>hellowworld</tt> is the directory name that you want to create the project skeleton files.</li>
+ <tt>helloworld</tt> is the directory name that you want to create the project skeleton files.</li>
<li>Type, <tt>php ../prado/framework/prado-cli.php <b>-t</b> helloworld</tt> to create
the test fixtures for the <tt>helloworld</tt> project.</li>
</ol>
<h2 id="505">Interactive Shell</h2>
<p>
-The interactive shell allows you to evaluate PHP statements from te command line.
+The interactive shell allows you to evaluate PHP statements from the command line.
The <tt>prado-cli.php</tt> script can be used to start the shell and load an existing
Prado project. For example, let us load the blog demo project. Assume that your
command line is in the <tt>prado</tt> distribution directory and you type.
@@ -63,7 +63,7 @@ $: php framework/prado-cli.php shell demos/blog
The output should be
<com:TTextHighlighter Language="cli" CssClass="source">
Command line tools for Prado 3.0.5.
-** Loaded Prado appplication in directory "demos\blog\protected".
+** Loaded Prado application in directory "demos\blog\protected".
PHP-Shell - Version 0.3.1
(c) 2006, Jan Kneschke <jan@kneschke.de>
@@ -73,7 +73,7 @@ PHP-Shell - Version 0.3.1
</com:TTextHighlighter>
Then we will get an instance of the Prado blog application, and from
that instance we want an instance of the <tt>'data'</tt> module. Notice that
-a <b>semicolon</b> at the end of the line <b>supresses the output</b>.
+a <b>semicolon</b> at the end of the line <b>suppresses the output</b>.
<com:TTextHighlighter Language="cli" CssClass="source">
>> $app = Prado::getApplication();
@@ -97,11 +97,10 @@ PostRecord#1
[Title] => 'Welcome to Prado Weblog'
[Content] => 'Congratulations! You have successfully installed Prado Blog --
a PRADO-driven weblog system. A default administrator account has been created.
- Please login with <b>admin/prado</b> and update your password as soon as possib
-le.'
+ Please login with <b>admin/prado</b> and update your password as soon as possible.'
[Status] => 0
[CommentCount] => 0
)
</com:TTextHighlighter>
</p>
-</com:TContent> \ No newline at end of file
+</com:TContent>