Changes between Version 16 and Version 17 of TracLegosScript


Ignore:
Timestamp:
Sep 18, 2008, 9:42:04 PM (16 years ago)
Author:
Jeff Hammel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracLegosScript

    v16 v17  
    3131[/newticket?component=TracLegosScript&owner=k0s new ticket].
    3232
    33 == Download and Source ==
     33== Installation and Setup ==
    3434
    3535Download the [download:traclegosscript zipped source], check out [/svn/traclegosscript using Subversion], or [source:traclegosscript browse the source] with Trac.
     36
     37Installation is done in the typical python manner.  Once you have downloaded the source, run {{{python setup.py install}}} for installation into python's site packages or {{{python setup.py develop}}} to install with edittable source.
     38
     39=== Installation of Example Template ===
     40
     41TracLegosScript also comes with an existing template:  source:traclegosscript/anyrelease/example/topp, which is an example of the kind of template used at [http://topp.openplans.org/ The Open Planning Project].  To install this template, run {{{python setup.py install}}} or {{{python setup.py develop}}} from this directory.  This [http://pythonpaste.org/script/developer.html#templates PasteScript template] can be seen in the output of `paster create --list-templates`:
     42
     43{{{
     44(TracLegos)> paster create --list-templates
     45Available templates:
     46  basic_package:      A basic setuptools-enabled package
     47  paste_deploy:       A web application deployed through paste.deploy
     48  topp_trac_project:  The Open Planning Project Trac Template
     49  trac_project:       templatize configuration for a trac project
     50}}}
     51
     52=== Setup of WebOb View for Project Creation ===
     53
     54!TracLegos includes a [http://pythonpaste.org paste] webapp that serves existing projects (delegating to trac) and also allows creating new projects.  In order to use this view, you must have at least one template installed, so first install the example template as described above.  Once the {{{topp_trac_template}}} (or any other template) is installed, you should be all set to run the webapp by running {{{paster serve development.ini}}} from the top-level directory of your copy of the !TracLegos source (source:traclegosscript/anyrelease/development.ini).
     55
     56Point your browser at http://127.0.0.1:8080 and you should be all set with a bare-bones web-based trac project creator.
     57
     58=== Turning an Existing {{{trac.ini}}} File into a Template ===
     59
     60'''TODO'''
    3661
    3762== Example ==