1. Home
  2. Docs
  3. MRF
  4. Installation
  5. Installation

Installation

First download and extract MRF sources (you should got them by email after purchase).
Please only do one of the following optional steps:

Bare Metal Installation (optional)

Create database & setup sources

  • Move sources folder on your web server (under /var/www).
cp -a Your_Download_Folder/mrf/. /var/www/html/
  • Create a database in MySQL (phpmyadmin may help), suggest name “mrf”.

Docker Installation (optional)

Docker installation needs very few steps to spin up a new MRF instance.

  • Open the “.env” file located into MRF directory, and modify it:
STORAGE_PATH=./storage [where to store samples on disk, see "Create storage folder" below]
MYSQL_USER=root        [mysql user]
MYSQL_PASS=password    [mysql password]
MYSQL_DATABASE=mrf     [mysql database to use for MRF, created automatically]
  • Then you just need to browse inside the MRF folder and launch the docker-compose script
cd <Your_Download_Folder/mrf>
docker-compose up

The MRF website will be then be accessible on http://localhost by default, and phpMyAdmin on http://localhost:8080.

Common steps

  • Browse to the root of the project (http://localhost), install page will show, verify it’s showing properly as below:


Create storage folder

  • Create the storage folder
sudo mkdir /your/storage/folder/location
  • Run the following command to give PHP write access to it:
sudo chown -R www-data:www-data /your/storage/folder/location


Edit configuration file

  • Edit your configuration file (under /your_root/src/config.php), as explained in the dedicated section.


Run installer script

If your configuration file is properly filled, it should display the installation page when browsing at root.

Important Note: Installer script must be re-launched every time you modify a module in config.php file. After first installation, the Install page can be found under Admin account, in website settings (“Install” page).

Run the install script and wait for it to complete. Upon completion, all tables will be created in the database, default settings applied and administrator account created.

Warning! Don’t leave the page without saving the admin credentials otherwise you will have to manually delete the database and restart the installation script.

Upon installation everything is setup, you can browse to root again and now it will display the login page (use the admin credentials)


Register Crons

Please refer to the dedicated page.

How can we help?