The current Swiss Tchoukball website was built in 2004 by Romain Schmocker using PHP. Since then some additions and improvements have been made, but the code is still based on what was written in 2004. PHP has evolved, so have coding practices. Therefore a lot of improvements can be brought and we hope that using git and GitHub will help going in that direction.
- Install composer
- Install dependencies by running
php composer.phar install
- If you changed composer filename or filepath, the command could be something like
php bin/composer install
- If you changed composer filename or filepath, the command could be something like
- Duplicate
config-sample.php
and rename itconfig.php
- Fill the necessary values in
config.php
(TODO: elaborate)
ServerName
must belocalhost
in theVirtualHost
config (port number is arbitrary)- If you want to set another
ServerName
, than also change the value inconfig.php
- If you want to set another
LoadModule rewrite_module
must be uncommented inhttpd.conf
TODO