Changes between Version 7 and Version 8 of EzProduceScript


Ignore:
Timestamp:
Sep 12, 2007, 5:10:51 AM (7 years ago)
Author:
token
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EzProduceScript

    v7 v8  
    99 # python ./ezProduceTrac.py add
    1010}}}
    11  1. create PostgreSQL DB
    12  1. create subversion repos to $REPOS_ROOT/PROJECTNAME
    13  1. create trac dir on $PROJECT_ROOT/PROJECTNAME
     11PROJECTNAME from stdin yourself.
     12
     13 1. create PostgreSQL DB names PROJECTNAME
     14 1. create subversion repos to env[ 'svn' ][ 'repos' ]/PROJECTNAME
     15 1. create trac dir on env[ 'trac' ][ 'projct' ]/PROJECTNAME
    1416 1. init trac project
    1517 1. chmod 777 projectdir, projectdir/log, projectdir/plugins
     
    1921 # python ./ezProduceTrac.py del
    2022}}}
     23PROJECTNAME from stdin yourself.
     24
    2125 1. check project
    22  1. drop PostgreSQL DB
    23  1. remove subverion repos from $REPOS_ROOT
    24  1. remove trac dir from $PROJECT_ROOT
     26 1. drop PostgreSQL DB names PROJECTNAME
     27 1. remove subverion repos from env[ 'svn' ][ 'repos' ]/PROJECTNAME
     28 1. remove trac dir from env[ 'trac' ][ 'projct' ]/PROJECTNAME
    2529
    2630==== and , optional list ====
     
    5559* for postgresql *
    5660
     61== Setting yourself ==
     62edit ezProduceTrac.py
     63{{{
     64env = {
     65    'svn':
     66        {
     67        'admin':'do not touch',
     68        'repos':'/srv/svn/repos'
     69        },
     70    'trac':
     71        {
     72        'template':'/usr/share/trac/templates',
     73        'admin':'do not touch',
     74        'project':'/home/trac/public_html'
     75        },
     76    'pgsql':
     77        {
     78        'create':'do not touch',
     79        'drop':'do not touch'
     80        }
     81    }
     82}}}
     83
    5784== Example ==
    5885
     
    85112bash@localhost#
    86113}}}
    87 == Setting yourself ==
    88 edit ezProduceTrac.py
    89 {{{
    90 env = {
    91     'svn':
    92         {
    93         'admin':'do not touch',
    94         'repos':'/srv/svn/repos'
    95         },
    96     'trac':
    97         {
    98         'template':'/usr/share/trac/templates',
    99         'admin':'do not touch',
    100         'project':'/home/trac/public_html'
    101         },
    102     'pgsql':
    103         {
    104         'create':'do not touch',
    105         'drop':'do not touch'
    106         }
    107     }
    108 }}}
    109114
    110115== Bugs/Feature Requests ==