Centos 7

This is the guide for installing Fleio on Centos 7 distribution. In our documentation, for simplicity reasons, we are going to install the backend and the frontend on the same server.

Enable repository

Fleio is using dependencies that are available in epel. This package ensures that this extra repository is enabled along with Fleio repository.

yum install https://repos.fleio.com/rhel/7/fleio-release-1-2.el7.noarch.rpm

Install the backend package

yum install fleio-backend

Install the frontend package

yum install fleio-frontend

Fleio needs a database server in order to operate. In this tutorial, we will use MariaDB-server but feel free to use the database server of your choice.

Install MariaDB-server

yum install mariadb-server
systemctl start mariadb

By default this service is not configured to start automatically. To do that, run the following command:

systemctl enable mariadb

Create the database and the database user

We are using fleio as database and fleio as username.

Run the mysql command line client, and create the database and the username:

CREATE DATABASE fleio CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON fleio.* TO 'fleio'@'localhost' IDENTIFIED BY 'HEREWETYPEPASSWORD';

Bootstrap initial configuration

Now that we have Fleio installed and we have the database prepared, we need to create the settings file in path /var/webapps/fleio/project/fleio/settings.py. You can create this file manually, based on the template file found at /var/webapps/fleio/project/fleio/settings.template or you can use a helper script to create the settings.py file.

To start the helper script run:

/var/webapps/fleio/scripts/bootstrap.sh

This script creates the database tables, creates the administrator user and the settings.py file. Next you need to answer several questions. Note that the default values, which are usually fine, are in square brackets.

/var/webapps/fleio/scripts/bootstrap.sh

 * URL to install Fleio at [http://12.34.56.78]:
 * Specify timezone [UTC]:
 * Enter mysql server ip [localhost]:
 * Enter mysql database name for fleio [fleio]:
 * Enter mysql username for fleio [fleio]:
 * Enter mysql password for username fleio: HEREWETYPEPASSWORD
 * Configuring SMTP...
 * Specify SMTP server [localhost]:
 * SMTP requires SMTP authentication ? y/n:
 If Yes:
    * Specify SMTP username:
    * Specify STMP password:

 * Creating database scheme...
 * Done
 * Creating super user for staff...
 * Specify your first name:
 * Specify your last name:
 * Specify username:
 * Specify email:
 * Specify password:
 * Installing additional packages
 * Done

Please proceed to Configuring section.