Changes between Version 1 and Version 2 of AddProject


Ignore:
Timestamp:
May 23, 2016 8:58:19 AM (9 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddProject

    v1 v2  
    1616  * Project Name [My Project]> '''ABC''' 
    1717  * Database connection string [sqlite:db/trac.db]> ''enter'' 
     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] 
     22alt = ABC Project 
     23height = 40 
     24link = http://www.inchalust.com/abc 
     25src = site/girjaesoft.png 
     26width = -1 
     27 
     28[project] 
     29descr = abc project 
     30url = http://www.inchalust.com/abc/trac 
     31 
     32[trac] 
     33default_charset = MS949 
     34}}} 
     35* Create `d:\trac\ABC\conf\trac.wsgi` 
     36{{{ 
     37import os 
     38 
     39os.environ['PYTHON_EGG_CACHE'] = 'd:/trac/ABC/eggs' 
     40 
     41import trac.web.main 
     42def 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{{{ 
     48WSGIScriptAlias /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