[Repoze-checkins] r607 - www/trunk/blog.repoze.org/entries
Tres Seaver
tseaver at palladion.com
Thu Dec 6 16:07:03 UTC 2007
Author: Tres Seaver <tseaver at palladion.com>
Date: Thu Dec 6 16:07:03 2007
New Revision: 607
Log:
Editorial fixes.
Modified:
www/trunk/blog.repoze.org/entries/theming_trac_with_deliverance.txt
Modified: www/trunk/blog.repoze.org/entries/theming_trac_with_deliverance.txt
==============================================================================
--- www/trunk/blog.repoze.org/entries/theming_trac_with_deliverance.txt (original)
+++ www/trunk/blog.repoze.org/entries/theming_trac_with_deliverance.txt Thu Dec 6 16:07:03 2007
@@ -5,7 +5,7 @@
trac instances within the theming and branding of his project site.</p>
<p><img align="right" src="http://static.repoze.org/secoora-theme.png" />
- Chris works for <a href="http://secoora.org/">SECOORA</a>, a regional
+ Chris supports <a href="http://secoora.org/">SECOORA</a>, a regional
marine science collaboration, and needed a way to share branding
for the <a href="http://trac.edgewall.org">Trac</a> instances he
maintains for the various SECOORA software projects.</p>
@@ -13,7 +13,9 @@
<h3>Installing Trac as a WSGI app</h3>
<p>We first worked out how to make Trac installable under Paste. Chris
- figured out how to get Trac installed via <code>repoze.project</code>:</p>
+ McDonough figured out how to get Trac installed via
+ <code>repoze.project</code>, using a new dependency package,
+ <code>repoze.trac</code>:</p>
<pre>
$ bin/repozeproject --path=/tmp/trac repoze.trac
@@ -38,26 +40,13 @@
<h3>Setting up the Trac Instance</h3>
<p>Before starting the server, we need to initialize the Trac
- instance:</p>
+ instance in the <code>var</code> directory:</p>
<pre>
$ bin/trac-admin var initenv
...
</pre>
-<p>And edit the Paste config to point at the new location:</p>
-
-<pre>
-$ vim etc/paste.ini
-...
-$ cat etc/paste.ini
-...
-[app:trac]
-paste.app_factory = repoze.trac:make_trac
-path = %(here)s/../var
-...
-</pre>
-
<h3>Running Trac under Paste</h3>
<p>Now we can start the server:</p>
@@ -152,5 +141,8 @@
</pre>
<p>Now, we see the fully-themed site:
- <img align="right" src="http://static.repoze.org/trac-themed.png" /></p>
-
+ <img align="right" src="http://static.repoze.org/trac-themed.png" />
+ Notice that the "tabs" in the Plone theme are now the "global" navigation
+ links from the Trac application, whilte the "personal tools" in the theme
+ now contains the "main" and "meta" nav links from Trac. The search form
+ is now the Trac version, and the Plone "breadcrumbs" are gone. </p>
More information about the Repoze-checkins
mailing list