Developer Store
Support
Member Forums

Screenshots
FAQ
Documentation
License
Known Issues
Downloads

MMOWorkshop BACK!

PyTorque
TGB Web Browser


jburch

hallsofvalhalla - Been A while
xapken - Wizards and Champions
J.C. Smith - The Repopulation - 0.5.2 Build Notes
EmpireGames - Elementals in Rise of Heroes
Empire Games - WarPath.
jaidurn - Warcall 0.0.1.0 build notes
medafor - Final detailing of models
Thamior - Presence system GONE! [May 25th 2009)]
... MORE BLOGS!

Need a TGE license?
How to change to max ZOOM out on...
How to start EXACTLY?
Checking to see if anyone is sti...
New MMO recruiting
[3dFoin] T. Rex
Quest Remnants of Chaos
Install and Debug quot
[3dFoin] New Year Sale [40% off]...
[3dFoin] Fantasy Snake

Game Packaging and Patch System Setup - Linux Server

(work in progress)

Server Software

This description assumes a SuSE 10.1 server running apache 2.2.3.

Enable SVN

Make sure you have subversion-1.3.0 (or a newer version) installed.

SuSE uses a configuration file /etc/sysconfig/apache2 to list the apache modules. Add "dav dav_svn authz_svn" to the APACHE_MODULES shell variable.

Pick a path where you wnat to place your subversion repository. I'll use /srv/mygame/.

Create the repository:

cd /srv
mkdir -p /srv/mygame/svnrepo
cd /srv/mygame/svnrepo
svnadmin create patchfiles
htpasswd2 -bc htpasswd admin mypassword
htpasswd2 -b htpasswd starter myotherpassword

Create the svn access file with these lines:

[patchfiles:/]
admin = rw
starter = r

In your vhosts configuration (one of the configuration for your virtual hosts) add:

<Location /svn>

  SetOutputFilter DEFLATE
  SetInputFilter DEFLATE

  DAV svn
  SVNParentPath /srv/mygame/svnrepo
            
  # our access control policy
  AuthzSVNAccessFile /srv/mygame/svnrepo/svnaccess.txt
             
  AuthType Basic
  AuthName "My Game's Patch File Repository"
  AuthUserFile /srv/mygame/svnrepo/htpasswd
  require valid-user

</Location>

Make the apache user id the owner of the repository:

chown -R wwwrun /srv/mygame/svnrepo

Restart apache2 to load the modules and the configuration changes:

apache2ctl restart

You can check the access to the repository with http://127.0.0.1/svn/patchfiles

Then continue with the deployment documentation for the client.