| 18 | * Copy [attachment:girjae_slogan_20160228.png the company logo] to '''d:\trac\ABC\htdocs\girjaesoft.png''' |
| 19 | * Open `d:\trac\ABC\conf\trac.ini` and edit |
| 20 | {{{ |
| 21 | [header_logo] |
| 22 | alt = ABC Project |
| 23 | height = 40 |
| 24 | link = http://www.inchalust.com/abc |
| 25 | src = site/girjaesoft.png |
| 26 | width = -1 |
| 27 | |
| 28 | [project] |
| 29 | descr = abc project |
| 30 | url = http://www.inchalust.com/abc/trac |
| 31 | |
| 32 | [trac] |
| 33 | default_charset = MS949 |
| 34 | }}} |
| 35 | * Create `d:\trac\ABC\conf\trac.wsgi` |
| 36 | {{{ |
| 37 | import os |
| 38 | |
| 39 | os.environ['PYTHON_EGG_CACHE'] = 'd:/trac/ABC/eggs' |
| 40 | |
| 41 | import trac.web.main |
| 42 | def application(environ, start_response): |
| 43 | environ['trac.env_path'] = 'd:/trac/ABC |
| 44 | return trac.web.main.dispatch_request(environ, start_response) |
| 45 | }}} |
| 46 | * Open `c:\www\apache\conf\extra\httpd-xampp.conf` and add |
| 47 | {{{ |
| 48 | WSGIScriptAlias /abc D:\trac\ABC\conf\trac.wsgi |
| 49 | |
| 50 | <Directory D:\trac\ABC\conf> |
| 51 | WSGIApplicationGroup %{GLOBAL} |
| 52 | Order deny,allow |
| 53 | Allow from all |
| 54 | </Directory> |
| 55 | <Location /trac/login> |
| 56 | AuthType Basic |
| 57 | AuthName Trac |
| 58 | AuthUserFile D:\trac\ABC\conf\htpasswd |
| 59 | Require valid-user |
| 60 | </Location> |
| 61 | }}} |
| 62 | * Create an empty `D:\trac\ABC\conf\htpasswd` file. |
| 63 | * Add administrator permission to anonymous |
| 64 | {{{ |
| 65 | trac-admin D:\trac\ABC permission add anonymous TRAC_ADMIN |
| 66 | }}} |
| 67 | * Restart Apache server |
| 68 | * Visit '''http://www.inchalust.com/abc''' |
| 69 | * Click `Admin` on right-top in the site. |
| 70 | * Click `Plugins` on left in the site. |
| 71 | * Click `tracaccountmanager0.4.4` |
| 72 | * Click the following options and then `Apply change` button. |
| 73 | |