Changes between Version 28 and Version 29 of TracOnOsx
- Timestamp:
- Jun 22, 2005, 3:41:41 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnOsx
v28 v29 34 34 }}} 35 35 36 Though ''fink'' manages the administrator/root permissions for you, which might be handy. 37 36 38 == Installing Subversion == 37 39 … … 39 41 40 42 {{{ 41 $ apt-getinstall svn-ssl svn-client-ssl svn-ssl-swig-py2343 $ fink install svn-ssl svn-client-ssl svn-ssl-swig-py23 42 44 }}} 43 45 … … 45 47 46 48 {{{ 47 $ apt-getinstall svn svn-client svn-swig-py2349 $ fink install svn svn-client svn-swig-py23 48 50 }}} 49 51 … … 56 58 }}} 57 59 58 I found that the above apt-gethad given me somewhat elderly Subversion 1.0.6 binaries; after updating with Fink, I got the current (at the time of this writing) 1.1.3 version.60 I found that the above fink commands had given me somewhat elderly Subversion 1.0.6 binaries; after updating with Fink, I got the current (at the time of this writing) 1.1.3 version. 59 61 60 62 == Installing Clearsilver, pysqlite, and Trac Itself == … … 70 72 71 73 That should be all you need to do. You can now set up your [wiki:TracEnvironment Trac environment] as per the usual instructions. If you do end up needing to install pysqlite, Clearsilver and Trac manually after having installed the rest with Fink as above, read on. 74 75 == Setting up Trac using Apple Personal Webserver == 76 77 To initialize a Trac environment at {{{/path/to/projectenv}}} run the following commands (you need to have a Subversion repository ready somewhere): 78 79 {{{ 80 $ trac-admin /path/to/projectenv initenv 81 $ cd /path/to/projectenv 82 $ sudo chown -R www . 83 }}} 84 85 '''Please remember to set approppriate permissions for your Subversion repository.''' 86 87 Open the Apache configuration file {{{/etc/httpd/httpd.conf}}} for editing: 88 89 {{{ 90 $ sudo nano -w /etc/httpd/httpd.conf 91 }}} 92 93 Add the following to have Trac appear at {{{yourdomain.tld/webpath}}} (with TracPrettyUrls). Change {{{/path/to/projectenv}}} to your particular setup. 94 95 {{{ 96 Alias /trac/ /sw/share/trac/htdocs/ 97 98 RewriteEngine On 99 100 <Directory "/sw/share/trac/htdocs"> 101 Options Indexes MultiViews 102 AllowOverride None 103 Order allow,deny 104 Allow from all 105 </Directory> 106 107 # You need this to allow users to authenticate 108 # trac.htpasswd can be created with 109 # cmd 'htpasswd -c trac.htpasswd' (UNIX) 110 # do 'man htpasswd' to see all the options 111 <Location "/webpath/login"> 112 AuthType Basic 113 AuthName "trac" 114 AuthUserFile /path/to/projectenv/conf/trac.passwd 115 Require valid-user 116 </Location> 117 118 SetEnv TRAC_ENV "/path/to/projectenv/" 119 ScriptAliasMatch ^/webpath/(.*) /sw/share/trac/cgi-bin/trac.cgi/$1 120 }}} 121 122 Now check if Apache is started, and possibly reload the configuration files: 123 {{{ 124 $ sudo apachectl start 125 $ sudo apachectl graceful 126 }}} 127 128 Your Trac installation should now be available at yourdomain.tld/webpath/ 72 129 73 130 == Manually Installing Clearsilver == … … 151 208 ''This is required due to a bug in the way Python locates it's own library directory. It is present in all versions of Python up to 2.3.4, but will be fixed in both 2.4 and 2.3.5.'' -- Mark Rowe 152 209 210 Update your python23 installation if you still need this fix. 211 212 {{{ 213 $ fink install python23 214 }}} 215 or: 216 {{{ 217 $ fink rebuild python23 218 }}} 219 153 220 = Installing using pkgsrc = 154 221