[Jifty-commit] r5606 - jifty/trunk/lib/Jifty/Manual
Jifty commits
jifty-commit at lists.jifty.org
Mon Jul 28 22:07:38 EDT 2008
Author: sunnavy
Date: Mon Jul 28 22:07:37 2008
New Revision: 5606
Modified:
jifty/trunk/lib/Jifty/Manual/Cookbook.pod
jifty/trunk/lib/Jifty/Manual/Tutorial.pod
Log:
updated manual a bit
Modified: jifty/trunk/lib/Jifty/Manual/Cookbook.pod
==============================================================================
--- jifty/trunk/lib/Jifty/Manual/Cookbook.pod (original)
+++ jifty/trunk/lib/Jifty/Manual/Cookbook.pod Mon Jul 28 22:07:37 2008
@@ -237,7 +237,7 @@
=head2 Perform database migration
-Edit etc/config.yaml and change Database->Version to a proper value
+Edit etc/config.yml and change Database->Version to a proper value
(say, 0.0.2). Then run
jifty schema --setup
@@ -323,7 +323,7 @@
Plugins:
- EditInPlace: {}
-Take care the indentation is significant. Use spaces, not tabs.
+Take care: the indentation is significant. Use spaces, not tabs.
Once you have done that you can restart your Jifty application and the
edit links should then function correctly.
@@ -334,7 +334,7 @@
element with a "background-image" CSS property.
If you want to use this fix, please include this one line in your CSS
-file, whit tag names to which you want the script applied:
+file, with tag names to which you want the script applied:
img, div { behavior: url(/static/js/iepngfix.htc) }
@@ -370,7 +370,7 @@
column a_record => refers_to ModelA;
};
-Otherwise, everything should work as expected.
+Everything should work as expected.
=head2 Reuse Jifty models and actions outside of a Jifty app
Modified: jifty/trunk/lib/Jifty/Manual/Tutorial.pod
==============================================================================
--- jifty/trunk/lib/Jifty/Manual/Tutorial.pod (original)
+++ jifty/trunk/lib/Jifty/Manual/Tutorial.pod Mon Jul 28 22:07:37 2008
@@ -66,7 +66,6 @@
Jifty application. (Jifty will create a subdirectory for you).
# jifty app --name MyWeblog
- Can't guess application root from current path (/tmp) or bin path (/usr/bin)
Creating new application MyWeblog
Creating directory lib
Creating directory lib/MyWeblog
@@ -188,8 +187,8 @@
# cd MyWeblog
# jifty model --name Post
- Writing file /tmp/MyWeblog/t/00-model-Post.t
Writing file /tmp/MyWeblog/lib/MyWeblog/Model/Post.pm
+ Writing file /tmp/MyWeblog/t/00-model-Post.t
Great! Now you have a B<Post> model (not that it models anything yet).
@@ -244,11 +243,13 @@
# jifty schema --setup
INFO - Generating SQL for application MyWeblog...
- INFO - Using MyWeblog::Model::Post
- INFO - Using Jifty::Model::Session
- INFO - Using Jifty::Model::Metadata
- INFO - Using Jifty::Model::Schema
- INFO - Set up version v0.0.1, jifty version 0.607280
+ INFO - Using MyWeblog::Model::Post, as it appears to be new.
+ INFO - Using Jifty::Model::Session, as it appears to be new.
+ INFO - Using Jifty::Model::Metadata, as it appears to be new.
+ INFO - Set up version 0.0.1, jifty version 0.80408
+ Jifty version 0.80408 up to date.
+ ...
+ MyWeblog version 0.0.1 up to date.
=head2 Starting the Jifty application server
More information about the Jifty-commit
mailing list