Author: fizyk
Date: 2010-04-14 21:31:19 +0200 (Wed, 14 Apr 2010)
New Revision: 29154
Modified:
plugins/vjCommentPlugin/TRUNK/README
Log:
small README fixes
Modified: plugins/vjCommentPlugin/TRUNK/README
===================================================================
--- plugins/vjCommentPlugin/TRUNK/README 2010-04-14 19:16:06 UTC (rev
29153)
+++ plugins/vjCommentPlugin/TRUNK/README 2010-04-14 19:31:19 UTC (rev
29154)
@@ -11,14 +11,14 @@
* Install the plugin
- $ symfony plugin:install vjCommentPlugin
- $ symfony plugin:publish-assets
- $ symfony cc
+ $ ./symfony plugin:install vjCommentPlugin
+ $ ./symfony plugin:publish-assets
+ $ ./symfony cc
* If you do migrations, run them now:
- ./symfony doctrine:generate-migrations-diff
- ./symfony doctrine:migrate
+ $ ./symfony doctrine:generate-migrations-diff
+ $ ./symfony doctrine:migrate
How to make something commentable?
-------------
@@ -36,11 +36,11 @@
* If it's a new project (you don't have build all, so do it !)
- $ symfony doctrine:build --all
+ $ ./symfony doctrine:build --all
* If it's an old project, you're adding Commentable ability to:
- $ symfony doctrine:build --model --forms --filters --sql
+ $ ./symfony doctrine:build --all-classes
At this point behaviour doesn't change or add anything to the model, so
migrations will do nothing.
@@ -80,10 +80,11 @@
restricted: false
First setting adds relation between Comment and sfGuardUser model.
-After setting it to true, make sure to run:
+After changing this setting, make sure create migrations:
- ./symfony doctrine:generate-migrations-diff
- ./symfony doctrine:migrate
+ $ ./symfony doctrine:generate-migrations-diff
+ $ ./symfony doctrine:migrate
+ $ ./symfony doctrine:build --all-classes
Second setting if set to true restricts comments only to logged in user.
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.