You have to do this manually as the Installer isn't ready yet.
- If you are on Docker: mentionbb-dockerized
- If you are on Plesk: mentionbb-plesk-setup
Requirements
- PHP 8.2+
- Composer
- Git (Optional)
Requirements PHP Extensions
- Mbstring
- Iconv
- Curl
- Zip
- GD (Optional)
If you are using Nginx server, the sample config file below will be helpful
This step is explained in detail in the Plesk installation
server {
listen 80;
server_name example.com;
root /var/www/public;
location / {
try_files $uri /index.php$is_args$args;
}
location ~ ^/index\.php(/|$) {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
add_header 'Access-Control-Max-Age' 1728000 always;
add_header 'Content-Type' 'text/plain; charset=utf-8' always;
add_header 'Content-Length' 0 always;
return 204;
}
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
internal;
}
location ~ \.php$ {
return 404;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
include /var/www/.nginx.conf;
error_log /dev/stdout info;
access_log /var/log/nginx/project_access.log;
}
You need to edit the paths and server name!
Install Via Zip
Download the latest files and extract them from the Zip file.
After this step, we need to perform a composer update.
For Composer installation: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
If you have Windows on local: https://getcomposer.org/doc/00-intro.md#installation-windows
If you cannot install, download the ready vendor file then extract and move it to the <code>src</code> folder. Vendor.zip
After that, you need to set the database.
- Create an empty database and import the "db.sql" file located in the main directory.
The column you need to change is:
Enter the full address of your site in this column.
Database config
php bin/console mention:install-db [--dbadapter DBADAPTER] [--user USER] [--password PASSWORD] [--dbname DBNAME] [--dbhost DBHOST]
*Excluding square brackets
OR Rename;
<code></code>Make your database settings in this file.
You should set the file according to the database driver(adapter) you want to run on your server. All instructions are in the file. By default, pdo_mysql is selected, and the PDO plugin must be installed to use it.
After that, your site will be up and running.
Default user:pass
Admin Panel for more settings.
Disabled Developer Mode
We recommend that you turn this setting off. Because with template changes, your files are backed up, but not when Dev Mode is on.
\App\App::$dev
public static $dev = [
'_devMode' => false,
];
Framework
Mention has been developed under an custom application framework called Par2. I have also used it in my previous projects, but this is a much improved version.
In general, Symfony Components are used.