X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FIntro.pod;h=1a091a4b328e36cc731edc9b1fa462aeeeb8a84b;hp=78bf5eb8ba30f8d1aba5245a96f46510306c5576;hb=a46b474eb241c3eac09ac0cd8af400a864de3ee5;hpb=acbd7bddabb7f0d62f0e031e21d440a0ae496d6d diff --git a/lib/Catalyst/Manual/Tutorial/Intro.pod b/lib/Catalyst/Manual/Tutorial/Intro.pod index 78bf5eb..1a091a4 100644 --- a/lib/Catalyst/Manual/Tutorial/Intro.pod +++ b/lib/Catalyst/Manual/Tutorial/Intro.pod @@ -1,11 +1,11 @@ =head1 NAME -Catalyst::Manual::Tutorial::Intro - Catalyst Tutorial - Part 1: Introduction +Catalyst::Manual::Tutorial::Intro - Catalyst Tutorial - Chapter 1: Introduction =head1 OVERVIEW -This is B for the Catalyst tutorial. +This is B for the Catalyst tutorial. L @@ -72,7 +72,7 @@ catalyst subversion repository by issuing the command: svn co http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Tutorial/ CatalystTutorial -This will download the most recent tarball for each part of the +This will download the most recent tarball for each chapter of the tutorial into the CatalystTutorial directory on your machine. B You can check the versions you have installed with the following command: - perl -MEmod_nameE -e '"print $Emod_nameE::VERSION\n"' + perl -M<_mod_name_> -e '"print $<_mod_name_>::VERSION\n"' For example: perl -MCatalyst::Plugin::StackTrace -e 'print "$Catalyst::Plugin::StackTrace::VERSION\n"' @@ -590,23 +590,23 @@ same. =head1 WHERE TO GET WORKING CODE -Each part of the tutorial has complete code available as a tarball in +Each chapter of the tutorial has complete code available as a tarball in the main Catalyst Subversion repository (see the note at the beginning of each part for the appropriate svn command to use). -B You can run the test cases for the final code through Part 8 +B You can run the test cases for the final code through Chapter 8 with the following commands: sudo cpan Catalyst::Model::DBIC::Schema Time::Warp DBICx::TestDatabase \ - DBIx::Class::DynamicDefault DBIx::Class::TimeStamp - wget http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Tutorial/MyApp_Part8.tgz - tar zxvf MyApp_Part8.tgz + DBIx::Class::DynamicDefault DBIx::Class::TimeStamp DBIx::Class::EncodedColumn + wget http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Tutorial/MyApp_Chapter8.tgz + tar zxvf MyApp_Chapter8.tgz cd MyApp - CATALYST_DEBUG=0 prove --lib lib t + CATALYST_DEBUG=0 prove --lib lib t If you wish to include the L section in -your tests, substitute C for -C in the URL above. However, you will also need to +your tests, substitute C for +C in the URL above. However, you will also need to run the following additional commands: sudo aptitude -y install libhtml-formfu-perl libmoose-perl \ @@ -625,7 +625,7 @@ pulling up C in your web browser (as mentioned earlier, change C to a different IP address or DNS name if you are running your web browser and your Catalyst development on different boxes). We will obviously see more about how to use the -application as we go through the remaining parts of the tutorial, but +application as we go through the remaining chapters of the tutorial, but for now you can log in using the username "test01" and a password of "mypass".