/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to SCM/trac/setup.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2017-04-03 02:45:17 UTC
  • Revision ID: csa@suren.me-20170403024517-dwzj0z0k1cmhxm7u
Restructuring, OpenShift, Ansible, Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Creating project:
 
2
    trac-admin <path_to_new_trac_directory> initenv
 
3
 
 
4
Adding users and giving them administrative permissions:
 
5
    htpasswd2 -c passwdfile csa
 
6
    trac-admin <path> permission add csa TRAC_ADMIN
 
7
 
 
8
Configuring account manager
 
9
    [components]
 
10
        acct_mgr.* = enabled
 
11
        webadmin.* = enabled
 
12
        trac.web.auth.LoginModule = disabled
 
13
        
 
14
    [account-manager]
 
15
        hash_method = HtDigestHashMethod
 
16
        password_store = HtPasswdStore
 
17
        password_file = /home/csa/.trac/.htpasswd       
 
18
    
 
19
software Dependencies
 
20
    ClearSilver support is required by some plugins (should go away in future)
 
21
        smart install python-clearsilver
 
22
 
 
23
    Other Software:
 
24
        svn co http://svn.python.org/projects/sandbox/branches/setuptools-0.6 setuptools
 
25
        python setup.py install
 
26
    
 
27
        easy_install --find-links http://www.pythonware.com/products/pil/ Imaging
 
28
    
 
29
        wget -c http://labs.logic.cz/download/pycaptcha/pycaptcha-0.4.tar.gz
 
30
        python setup.py install
 
31
        
 
32
        wget -c 'http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.3.zip'
 
33
        python setup.py install
 
34
    
 
35
Plugins
 
36
    easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk
 
37
    easy_install http://trac-hacks.org/svn/tracwysiwygplugin/0.11/
 
38
 
 
39
    #easy_install http://data.pevnosti.cz/tracdownloader/TracDownloader-0.1-trac-0.11.egg
 
40
    Buggy:
 
41
        svn co http://trac-hacks.org/svn/tracdownloaderplugin/
 
42
        tracdownloader-ds-web_ui.diff
 
43
 
 
44
    easy_install http://svn.ipd.uka.de/trac/javaparty/attachment/wiki/TracNav/DownloadAndInstall/TracNav-4.0-py2.5.egg?format=raw
 
45
    easy_install TracSpamFilter
 
46
    easy_install http://trac-hacks.org/svn/tagsplugin/tags/0.6
 
47
    easy_install http://trac-hacks.org/svn/tocmacro/0.11
 
48
 
 
49
    svn co http://trac-hacks.org/svn/doxygenplugin/0.11/
 
50
    wget -c 'http://trac-hacks.org/changeset/latest/includemacro?old_path=/&filename=includemacro&format=zip'
 
51
    wget -c 'http://trac-hacks.org/changeset/latest/pendingticketplugin?old_path=/&filename=pendingticketplugin&format=zip'
 
52
    wget -c 'http://trac-hacks.org/changeset/latest/discussionplugin?old_path=/&filename=discussionplugin&format=zip'
 
53
    wget -c 'http://trac-hacks.org/changeset/latest/navaddplugin?old_path=/&filename=navaddplugin&format=zip'
 
54
    wget -c 'http://trac-hacks.org/changeset/latest/pagetopdfplugin?old_path=/&filename=pagetopdfplugin&format=zip'
 
55
    wget -c 'http://trac-hacks.org/changeset/latest/pollmacro?old_path=/&filename=pollmacro&format=zip'
 
56
    wget -c 'http://trac-hacks.org/changeset/latest/screenshotsplugin?old_path=/&filename=screenshotsplugin&format=zip'
 
57
    wget -c 'http://trac-hacks.org/changeset/latest/selfdeleteplugin?old_path=/&filename=selfdeleteplugin&format=zip'
 
58
    wget -c 'http://trac-hacks.org/changeset/latest/themeengineplugin?old_path=/&filename=themeengineplugin&format=zip'
 
59
    wget -c 'http://trac-hacks.org/changeset/latest/ticketdeleteplugin?old_path=/&filename=ticketdeleteplugin&format=zip'
 
60
    wget -c 'http://trac-hacks.org/changeset/latest/fullblogplugin?old_path=/&filename=fullblogplugin&format=zip'
 
61
    wget -c 'http://trac-hacks.org/changeset/latest/wikirenameplugin?old_path=/&filename=wikirenameplugin&format=zip'
 
62
    wget -c 'http://trac-hacks.org/changeset/latest/combinewikiplugin?old_path=/&filename=combinewikiplugin&format=zip'
 
63
 
 
64
    http://sourceforge.net/projects/resreserv4trac/files
 
65
    
 
66
    svn co http://trac-hacks.org/svn/finegrainedpageauthzeditorplugin
 
67
    * python setup.py install (when necesary)
 
68
 
 
69
    
 
70
    http://trac.edgewall.org/export/7597/trunk/sample-plugins/permissions/authz_policy.py
 
71
    * copy to plugins directory
 
72
    * manually add to components section "authz_policy.* = enabled"
 
73
    
 
74
 
 
75
    May be:
 
76
        wget -c 'http://trac-hacks.org/changeset/latest/advancedticketworkflowplugin?old_path=/&filename=advancedticketworkflowplugin&format=zip'
 
77
 
 
78
    VCS:
 
79
        wget -c 'http://trac-hacks.org/changeset/latest/gitplugin?old_path=/&filename=gitplugin&format=zip'
 
80
        svn co http://svn.edgewall.com/repos/trac/sandbox/mercurial-plugin-0.11
 
81
        bzr branch lp:trac-bzr [problems with proxy]     
 
82
    
 
83
    Other intereasting plugins
 
84
        xmlrpcplugin
 
85
    
 
86
    And not so interesting
 
87
        graphvis                - working, but not really needed
 
88
        Trac_Drag_and_Drop      - not working properly
 
89
 
 
90
    Themes:
 
91
        Unfortunately in the current version of ThemeEngine is not supporting
 
92
        web administration (the appropriate menu items are created, but not
 
93
        functioning properly). Therefore, the themes should be switched from
 
94
        config:
 
95
            [theme]
 
96
                theme=<theme_id>
 
97
        It also should be noted what old 0.10 themes are not compatible with
 
98
        0.11.
 
99
        
 
100
        
 
101
        svn co http://trac-hacks.org/svn/gnomebrtheme
 
102
            theme = GnomeBR
 
103
        svn co http://www.trac-hacks.org/svn/pydotorgtheme
 
104
            theme = PyDotOrg
 
105
            
 
106
        
 
107
 
 
108
        Better but not-compatible themes:       
 
109
            wget -c 'http://trac-hacks.org/changeset/latest/tracdefaulttheme?old_path=/&filename=tracdefaulttheme&format=zip'
 
110
            git clone http://nanosleep.org/git/trac-nanosleep-theme
 
111
    
 
112
 
 
113
    Configuration:
 
114
        [inherit]
 
115
            plugins_dir = /usr/local/lib64/python2.5/site-packages