These are some screenshots of the web interface in both light and dark mode.
Home page | Bans page | Mutes page | Kicks page | Warns page | Player page |
Home page | Bans page | Mutes page | Kicks page | Warns page | Player page |
- PHP 8.1, 8.2 or 8.3
- Nginx, Apache or some other web server software that supports php. Nginx is the favorite here!
- Composer
- Git
- Open the terminal to your web server.
- Execute
cd /var/www/
- Execute
git clone https://github.com/ChimpGamer/NetworkManagerBanList.git bans
to clone the repository. - Enter the directory by executing
cd bans
- Run the
composer install --optimize-autoloader --no-dev
- Make sure to set the owner of the bans folder to www-data:www-data by executing
sudo chown -R www-data:www-data /var/www/bans
- Rename
.env.example
to.env
by executingmv .env.example .env
. - Configure the settings in the .env file.
- Execute
php artisan key:generate
- Configure your webserver to direct all requests to the ban list application. See Webserver configuration for examples.
- You should now be able to browse to bans.example.com (The Server name in your webserver configuration)
To improve performance there are a few things you can do. Caching! Cache the config, routes and views. You can do this by running these commands:
php artisan config:cache
php artisan route:cache
php artisan view:cache
First enter the folder that contains the web files. Then run the following commands to update:
php artisan down
git pull
composer install --no-dev
php artisan optimize:clear
php artisan config:cache
php artisan route:cache
php artisan view:cache
php artisan up
After that it should be running just fine again.