Installation


SERVER REQUIREMENTS


Before you begin installation, make sure you have a webserver that meets the following requirements:


  • PHP 7.2 or PHP 7.3
  • MySQL >= MySQL 5.7


Ensure the following PHP extensions are installed


  • ext-bcmath
  • ext-ctype
  • ext-curl
  • ext-dom
  • ext-gd
  • ext-hash
  • ext-iconv
  • ext-intl
  • ext-mbstring
  • ext-openssl
  • ext-pdo_mysql
  • ext-simplexml
  • ext-soap
  • ext-xsl
  • ext-zip
  • lib-libxml


It is also strongly recommended that you install FFmpeg on your server. This will enable automatic generation of Video thumbnails


If you are unable to intall FFmpeg on your sever, you can specify the path to the FFmpeg and FFprobe binaries in your config/autoload/local.php file. Simply fill in the following values


    
  'videos'=>[
        'ff_mpeg'=>'',
        'ff_probe'=>''
    ]
    
  


You can still use TrainEasy without FFmpeg installed. However, you would need to manually upload thumbnails for uploaded videos.


  • The TrainEasy installation file consists of a zip file that has the following contents when unzipped


  • Upload the app.zip file into the root of your web server or wherever you would like the application to reside.
  • Extract the contents of the app.zip folder. You will see the following directory structure:



  • We recommend that you point your domain name to the public directory. Your should be able to do this from your hosting's control panel. Otherwise, you can use the .htaccess file located the the 'Resources' directory. Simply upload this file to the same directory as the public folder and then change the [YOUR_DOMAIN_NAME] placeholder to your actual domain name
  • Open your web browser and enter the domain name for the application. You should see the setup wizard open like below:


  • Enter in your database credentials. Please ensure that the database already exists and that it is empty. TrainEasy will delete any database table it finds that has the same name as any of its tables. Once you complete the setup wizard, you will reach a page that will give you links to access both the frontend and the backend of your TrainEasy site. You will also receive an email with your admin account login credentials.



The Frontend

The Frontend is the public section of the TrainEasy application. This is where your students and other visitors will visit. You can access this area simply by entering your domain name in the browser

The Backend

The backend is the restricted section of TrainEasy that is only accessible to administrators. You can access this section by adding /admin to your domain name.

2020 © TrainEasy.