How to install Sourcebans++ 1.7 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.
1. Connect to your webhosting with us via SSH, using a client such as Putty. Credentials for connecting can be found on the File Manager tab of the webhosting control panel.
2. Create a new folder within your public folder called "sourcebans" and then navigate to it, using the following commands:
3, Download the Sourcebans web folder, using SVN:
Note: The space and period at the end of the line is intentional and needs to be included.
4. Download the composer setup file:
5. Create a "bin" directory for the setup file to install Composer into:
6. Run the composer-setup.php file, specifying an install directory and file name for Composer:
7. Run the following Composer command, which will download the required dependencies for Sourcebans++:
8. Open your browser and navigate to the installation folder for Sourcebans, such as:
http://<yourdomain.com>/sourcebans/install
Note: 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.
9. You should now be able to follow through the step-by-step installer included with Sourcebans to complete the installation.
Some tips for this installer:
1. Connect to your webhosting with us via SSH, using a client such as Putty. Credentials for connecting can be found on the File Manager tab of the webhosting control panel.
2. Create a new folder within your public folder called "sourcebans" and then navigate to it, using the following commands:
Code: Select all
mkdir public/sourcebans
cd public/sourcebans
Code: Select all
svn checkout https://github.com/sbpp/sourcebans-pp/trunk/web .
4. Download the composer setup file:
Code: Select all
wget https://getcomposer.org/installer -O composer-setup.php
Code: Select all
mkdir bin
Code: Select all
php composer-setup.php --install-dir=bin --filename=composer
Code: Select all
bin/composer install
http://<yourdomain.com>/sourcebans/install
Note: 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.
9. You should now be able to follow through the step-by-step installer included with Sourcebans to complete the installation.
Some tips for this installer:
- 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/