jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [doc/] [install.html] - Diff between revs 1 and 3

Show entire file Ignore whitespace

Rev 1 Rev 3
Line 51... Line 51...
   
<p>Since it's written using PHP, WebSVN is also very portable and easy to install.</p> <p>Since it's written using PHP, WebSVN is also very portable and easy to install.</p>
   
<h2><a name="installation"></a>Installation</h2> <h2><a name="installation"></a>Installation</h2>
   
<p>Grab the source and stick it somewhere that your server can get to. You <p>Grab the source and stick it somewhere that your server can get to.
obviously need to have <strong>PHP 4.3.0</strong> or greater installed and working. Also note that WebSVN You need to have <strong>PHP 4.3.0</strong> or greater installed and working.
won't currently work in safe mode, due to the need to call svnlook.</p> Additionally you need <strong>SVN 1.2.0</strong> or greater.
  Also note that WebSVN won't currently work in safe mode, due to the need to call svn/svnlook.</p>
   
<p>If it isn't already, make sure to chmod the cache directory to 0777. This is <p>If it isn't already, make sure to chmod the cache directory to at least 0700,
used to cache RSS files.</p> and is owned by the process your webserver is running under. This is used to
  cache RSS files. It is not recommended to set the directory to full write,
<p>You'll also need diff (preferably the GNU version; for Windows users I'd 0777.</p>
recommend the Cygwin version) and svnlook available.</p>  
   
<p>Rename distconfig.php as config.php (found in the includes directory) and then <p>Rename distconfig.php as config.php (found in the includes directory) and then
edit it as directed in the file itself.</p> edit it as directed in the file itself.</p>
   
<p>If everything has gone well, you should be able to view your projects by <p>If everything has gone well, you should be able to view your projects by
pointing your browser at the index.php file.</p> pointing your browser at the index.php file.</p>
   
<p>For those of you wishing to customise the look and feel a little, you should <p>For those of you wishing to customise the look and feel a little, you should
read templates.txt, which explains the highly configurable template system.</p> read templates.txt, which explains the highly configurable template system.</p>
   
  <p>No other external program are required.</p>
   
  <!--
  <p>You'll also need diff (preferably the GNU version; for Windows users I'd
  recommend the Cygwin version) and svnlook available.</p>
   
<p><b>Windows users:</b> Note that some of the features offered by WebSVN, when <p><b>Windows users:</b> Note that some of the features offered by WebSVN, when
enabled, require the use of various external programs. They can be downloaded enabled, require the use of various external programs. They can be downloaded
from these locations:</p> from these locations:</p>
   
<p>Diff/Sed/Gzip/Tar: <a href="http://www.cygwin.com/">http://www.cygwin.com/</a><br /> <p>Diff/Sed/Gzip/Tar: <a href="http://www.cygwin.com/">http://www.cygwin.com/</a></p>
Enscript: <a href="http://people.ssh.com/mtr/genscript/">http://people.ssh.com/mtr/genscript/</a></p> -->
   
<h2><a name="accentedchars"></a>Accented characters</h2> <h2><a name="accentedchars"></a>Accented characters</h2>
   
<p>WebSVN is designed to worked with accented characters. To do this, it uses <p>WebSVN is designed to worked with accented characters. To do this, it uses
the iconv function. This may not be installed on your system. If you aren't the iconv function. This may not be installed on your system. If you aren't
Line 90... Line 96...
<h2><a name="colourisation"></a>Colourisation</h2> <h2><a name="colourisation"></a>Colourisation</h2>
   
<p>Per default WebSVN uses the Generic Syntax Highlighter GeSHi which is bundle with WebSVN.</p> <p>Per default WebSVN uses the Generic Syntax Highlighter GeSHi which is bundle with WebSVN.</p>
   
<p>Alternatively, if you have Enscript 1.6 or higher installed on your system, <p>Alternatively, if you have Enscript 1.6 or higher installed on your system,
you can use that to view files with syntax colouring. You'll also need Sed.</p> you can use that to view files with syntax colouring. You'll also need Sed.<br />
  It can be found at <a href="http://people.ssh.com/mtr/genscript/">http://people.ssh.com/mtr/genscript/</a></p>
   
   
<p>Simply set the paths in the config file and then uncomment the line:</p> <p>Simply set the paths in the config file and then uncomment the line:</p>
   
<pre class="code"> <pre class="code">
$config->useEnscript(); $config->useEnscript();

Powered by WebSVN 2.2.1