Setup Guide
Prerequisites
ZForum requires PHP >=8.1, Composer, Node.js and Meilisearch to be installed on your system. This many not be a complete list, because it is assumed that your system has software preinstalled on it. If you don't have something, just install it.
Instructions for installing on Windows will not be provided, as the author of this software does not use Windows, nor know anything about it.
pacman -S php composer meilisearch nodejs npm
# pnpm is preferred, you can install it from the AUR
paru -S pnpm
# or through npm
npm install -g pnpmGetting ZForum
You can get ZForum by cloning the GitHub repository.
git clone https://github.com/zforumdev/zforum.git
cd zforum/Setup
Installing dependencies
Install dependencies for composer and node, as well as create required files.
composer install
pnpm install
cp .env.example .envEditing the .env file
Next, you need to edit the .env file. For now, just change the DB_CONNECTION key's value to sqlite, and create a database.sqlite file in database/. Also, make sure to generate the app config.
touch database/database.sqlite
php artisan zforum:make-configRunning migrations and required configuration
Now, you can run the migrations, as well as create the default roles, which are explained more in Roles.
php artisan migrate:fresh
php artisan zforum:make-default-rolesHead over to Basic Configuration