- Get an Apache server with PHP and MariaDB up and running, including Composer and the PHP GD library extension. NGINX/FreeNGINX should work, but we use Apache on Qobo production.
- Setup a virtual host. Look below the steps for an example.
- Run
composer update
from the terminal. - Copy
config.sample.php
, rename it toconfig.php
and fill in your database credentials. - Import the database template found in
sql/
into the database you want to use. - Run the
compile-scss
script available in the tools directory to generate the required stylesheets. You may find Dart-Sass here at https://sass-lang.com/install/.
- Instead of installing dependencies using
composer update
you docomposer update --no-dev
- Make the
dynamic/
andtemplates/cache/
directories writable by your web server. - Modify
$branding
to replace openSB branding with your custom branding. Check thepublic/assets/placeholder
directory for reference.
- Disable Twig's template caching by setting
$tplNoCache
to true. - Enable debugging features by setting
$isDebug
to true. - If you want to be able to upload during development, make the
dynamic/
directory and the directories inside it writable by your web server.
You will have to modify the directories to match your instance's location.
<VirtualHost *>
ServerName localhost
DocumentRoot "C:/xampp/openSB/public"
Alias /dynamic "C:/xampp/openSB/dynamic"
<Directory "C:/xampp/openSB">
Options Indexes FollowSymLinks
Require all granted
AllowOverride All
</Directory>
</VirtualHost>
Assuming you use Apache and have the rewrite module installed, this is because AllowOverride is turned off. See the virtual host example above for a quick fix.
No. Kylarz's squareBracket uses a closed-source "TicTac" backend and is not affiliated with us. The original squareBracket (by Bluffingo) was renamed to Qobo in the latter half of 2022, and still uses OpenSB.