LANSuite is a administration system for LAN-Parties based.
German version of this README: Can be found at README-DE.md.
- Organisation of tournaments
- Registration for parties
- News- and messaging system
- Projector support
- Cash / Money management
- Foodcenter
- Hardware / Server inventory
- Picture gallery
- Seat plans
- and many more ...
-
= PHP 7 (with
mysqli
,snmp
andgd
extensions) -
= MySQL 5.6.3
We assume that you have a running Docker Community Edition installed.
$ git clone https://github.com/lansuite/lansuite.git
$ cd lansuite
$ touch ./inc/base/config.php
$ # Add the content of the example configuration file below into ./inc/base/config.php
$ chmod 0777 ./inc/base/config.php
$ chmod -R 0777 ./ext_inc/
$ docker-compose up
$ docker-compose run php composer install
This will start a Nginx webserver with a php-fpm configuration and a MySQL database for you.
After everything started you should be able to visit http://<Your-Docker-IP>
:8080/ and see a running LanSuite-System.
Warning: This Docker setup should not be used for production. It contains a debugging setup like Xdebug.
If you have already a running website based on LanSuite, you can also start a docker based setup with a copy of your database. It comes handy to test the new features with your dataset.
This guide assumes that you have already a copy of your database in a single SQL file. If you don't have one, you can create one with tools like mysqldump, PHPMyAdmin or ask your hoster for a copy.
Move your database dump into the root folder of LanSuite and name it database-dump.sql
:
$ mv /your/db/dump.sql /lansuite/copy/database-dump.sql
After this, you can start the docker-compose setup via
$ docker-compose -f docker-compose.yml -f docker-compose.dump.yml up
An example configuration file looks like:
[lansuite]
version=Nightly
default_design=simple
chmod_dir=777
chmod_file=666
debugmode=0
[database]
server=mysql
user=root
passwd=
database=lansuite
prefix=ls_
charset=utf8
Warning: Setting directories to 0777
is not suggested for production. Only your webserver user should be able to write into this directory.
Checkout how to contribute in our Contribution Guide.
Main language of this project is english. We also support issues and pull requests in german. The reason is that LANSuite is a quite old system and a massive userbase only speaks german. To not loose them, we will support both languages. See Switch language of documentation, development, communication to english #2 for more details.
This project follows the coding guideline standards:
Former versions of LANSuite bundled an API documentation in the docs/
folder.
To generate an API documentation in a HTML-Version you can use phpDocumentor:
$ composer install
$ bin/phpdoc run --progressbar -t ./docs/