How to install Fleio from beta packages¶
Important
Beta should be used only on development or testing environment and it is not recommended for production.
In order to install Fleio from beta packages you will need to have Fleio installed. For this you will have to follow the normal installation procedure up until the bootstrap step.
You can find the guides bellow:
When you reach the bootstrap process you will need to upgrade Fleio using the beta packages.
The packages will be provided only on demand, so in order to get them you will need to open a support ticket.
After you have the packages you will run the following commands, depending on operating system (note that these are placeholders and the names might differ, according to the Fleio beta version):
- Ubuntu 16 and Ubuntu 18
dpkg -i /full/path/to/packages/fleio-frontend_2020.0X.X-1+xenial_all.deb
dpkg -i /full/path/to/packages/fleio-backend_2020.0X.X-1+xenial_amd64.deb
- Centos 7
rpm -U /full/path/to/packages/fleio-frontend_2020.0X.X-1+xenial_all.deb
rpm -U /full/path/to/packages/fleio-backend_2020.0X.X-1+xenial_amd64.deb
Bootstrap initial configuration¶
Now that we have upgraded to Fleio beta, we need to create the settings file in path
/var/webapps/fleio/project/fleio/fleiosettings/settings.py
. You can create this file manually, based on the template
file found at /var/webapps/fleio/project/fleio/fleiosettings/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
This script creates the database tables, creates the administrator user and the settings.py
file and configures Nginx.
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
* 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 SMTP 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.
How to upgrade to beta¶
After you get the packages you will have to run the upgrade commands from bellow (note that these are placeholders and the names might differ, according to the Fleio beta version):
- Ubuntu 16 and Ubuntu 18
dpkg -i /full/path/to/packages/fleio-frontend_2020.0X.X-1+xenial_all.deb
dpkg -i /full/path/to/packages/fleio-backend_2020.0X.X-1+xenial_amd64.deb
- Centos 7
rpm -U /full/path/to/packages/fleio-frontend_2020.0X.X-1+xenial_all.deb
rpm -U /full/path/to/packages/fleio-backend_2020.0X.X-1+xenial_amd64.deb