How to install Sourcebans++ 1.7.0 web panel (with Composer)
Posted: Thu Sep 30, 2021 3:16 pm
This guide will walk you through installation of the web panel portion of Sourcebans, which now requires Composer to be installed and run in order to download some needed dependencies.
- In your control panel, navigate to your webhosting service, and select the "Autoinstallers" tab.
- Select "Composer (lastest)" and submit the form with the "Auto-create Composer installation" button.
- Connect to your webhosting service via SSH, using a client such as Putty.
- Credentials for connecting can be found on the "File Manager" tab in the services control panel.
- Once connected, create the necessary directories:
Code: Select all
mkdir -p ~/public/sourcebans-pp/{demos,cache,images/games,images/maps}
- Download the required files for Sourcebans++:
Code: Select all
git clone https://github.com/sbpp/sourcebans-pp.git temp-sourcebans-pp && cp -r temp-sourcebans-pp/web/* ~/public/sourcebans-pp/ && rm -rf temp-sourcebans-pp
- Copy, paste, and run this entire string as one command.
- Navigate to the sourcebans directory and run composer install:
Code: Select all
cd ~/public/sourcebans-pp && composer install
- Open your browser and navigate to the installation folder for Sourcebans, such as:
http://<yourdomain.com>/sourcebans-pp/install
- Replace <yourdomain.com> with the domain you're installing Sourcebans into, shown on the Domains page of the control panel. This might be something like myserver.site.nfoservers.com, or a custom domain you've added to your panel.
- Follow the installer until completed (you will know its complete when you get to the "Finish Up" section on the "Initial steps" page).
- Database information can be found on the Databases tab of your website control panel. Create a database on that page if you have not yet.
- Your Steam API Key can be found or created here: https://steamcommunity.com/dev/apikey
- You can quickly lookup your SteamID here: https://steamid.io/
- Once you are done with the installer you can use the below command to clean up the "install" and "updater" directories to begin using Sourcebans++:
Code: Select all
rm -rf ~/public/sourcebans-pp/install ~/public/sourcebans-pp/updater
- Only run this when you are 100% sure you are done with the installer. Otherwise you will need to delete the sourcebans-pp folder and start again.