14 | | All rights reserved by [http://codedgers.com Codedgers Inc]. |
15 | | |
16 | | == Bugs/Feature Requests |
17 | | |
18 | | Existing bugs and feature requests for CodeExampleMacro are [report:9?COMPONENT=CodeExampleMacro here]. |
19 | | |
20 | | If you have any issues, create a [/newticket?component=CodeExampleMacro&cc=rjollos new ticket]. |
21 | | |
22 | | [[TicketQuery(component=CodeExampleMacro,group=type,format=progress)]] |
23 | | |
24 | | == Download |
25 | | |
26 | | Download the zipped source from [export:codeexamplemacro here]. |
27 | | |
28 | | == Source |
29 | | |
30 | | You can check out CodeExampleMacro from [/svn/codeexamplemacro here] using Subversion, or [source:codeexamplemacro browse the source] with Trac. |
31 | | |
32 | | == Installation |
33 | | |
34 | | {{{#!comment |
35 | | 1. '''Check''' dependencies: |
36 | | i. none required |
37 | | * `[sudo]` is optional in case you have authorisation to modify your server. |
38 | | }}} |
39 | | 1. '''Install''' plugin globally, for example with `easy_install`: |
40 | | {{{#!sh |
41 | | [sudo] easy_install https://trac-hacks.org/svn/codeexamplemacro |
42 | | }}} |
43 | | * `[sudo]` is optional in case you have authorisation to modify your server. |
44 | | * You might be required to select a specific `tag`, `branch`. Defaults to select from `trunk`. |
45 | | 1. '''Enable''' this component by updating TracIni file as follows: |
46 | | {{{#!ini |
47 | | [components] |
48 | | codeexample.code_example_processor.* = enabled |
49 | | }}} |
50 | | {{{#!comment |
51 | | 1. '''Configure''' this component in its own configuration section, by updating TracIni file as follows: |
52 | | i. none required |
53 | | {{{#!ini |
54 | | [plantuml] |
55 | | plantuml_jar = /path/to/plantuml.jar |
56 | | java_bin = /path/to/java_bin (optional, if Java binary is not on the search path) |
57 | | }}} |
58 | | * example `plantuml_jar = /project-resources/trac/plugins` |
59 | | * example `java_bin = java` assumes that the Java binary is on the search path. |
60 | | }}} |
61 | | 1. '''Restart''' web server on command line: |
62 | | {{{#!sh |
63 | | [sudo] /etc/init.d/apache2 restart |
64 | | }}} |
65 | | * `[sudo]` is optional in case you have authorisation to modify your server. |
66 | | 1. '''Test''' if this component is working properly. If the plugin is installed correctly, the example shown in the [#Usage] section on this page should be displayed. |
67 | | |
68 | | == Usage |
| 14 | This plugin is to be used as follows: |
| 85 | All rights reserved by [http://codedgers.com Codedgers Inc]. |
| 86 | |
| 87 | == Bugs/Feature Requests |
| 88 | |
| 89 | Existing bugs and feature requests for CodeExampleMacro are [report:9?COMPONENT=CodeExampleMacro here]. |
| 90 | |
| 91 | If you have any issues, create a [/newticket?component=CodeExampleMacro&cc=rjollos new ticket]. |
| 92 | |
| 93 | [[TicketQuery(component=CodeExampleMacro,group=type,format=progress)]] |
| 94 | |
| 95 | == Download |
| 96 | |
| 97 | Download the zipped source from [export:codeexamplemacro here]. |
| 98 | |
| 99 | == Source |
| 100 | |
| 101 | You can check out CodeExampleMacro from [/svn/codeexamplemacro here] using Subversion, or [source:codeexamplemacro browse the source] with Trac. |
| 102 | |
| 103 | == Installation |
| 104 | |
| 105 | {{{#!comment |
| 106 | 1. '''Check''' dependencies: |
| 107 | i. none required |
| 108 | * `[sudo]` is optional in case you have authorisation to modify your server. |
| 109 | }}} |
| 110 | 1. '''Install''' plugin globally, for example with `easy_install`: |
| 111 | {{{#!sh |
| 112 | [sudo] easy_install https://trac-hacks.org/svn/codeexamplemacro |
| 113 | }}} |
| 114 | * `[sudo]` is optional in case you have authorisation to modify your server. |
| 115 | * You might be required to select a specific `tag`, `branch`. Defaults to select from `trunk`. |
| 116 | 1. '''Enable''' this component by updating TracIni file as follows: |
| 117 | {{{#!ini |
| 118 | [components] |
| 119 | codeexample.code_example_processor.* = enabled |
| 120 | }}} |
| 121 | {{{#!comment |
| 122 | 1. '''Configure''' this component in its own configuration section, by updating TracIni file as follows: |
| 123 | i. none required |
| 124 | {{{#!ini |
| 125 | [plantuml] |
| 126 | plantuml_jar = /path/to/plantuml.jar |
| 127 | java_bin = /path/to/java_bin (optional, if Java binary is not on the search path) |
| 128 | }}} |
| 129 | * example `plantuml_jar = /project-resources/trac/plugins` |
| 130 | * example `java_bin = java` assumes that the Java binary is on the search path. |
| 131 | }}} |
| 132 | 1. '''Restart''' web server on command line: |
| 133 | {{{#!sh |
| 134 | [sudo] /etc/init.d/apache2 restart |
| 135 | }}} |
| 136 | * `[sudo]` is optional in case you have authorisation to modify your server. |
| 137 | 1. '''Test''' if this component is working properly. If the plugin is installed correctly, the example shown in the [#Usage] section on this page should be displayed. |
| 138 | |