Before you begin installation, make sure you have a webserver that meets the following requirements:
- PHP 8.0.2 or higher
- MySQL >= MySQL 5.7
Ensure the following PHP extensions are installed
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 install FFmpeg on your sever, you can specify the path to the FFmpeg and FFprobe binaries in your .env file (in the application root). Simply fill in the following values
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
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:
- Click on the 'Check Requirements' button. The installer will check to ensure that you have all the required PHP extensions.
- If all extensions are available, click on the 'Check Permissions' button. If any extensions are missing, ensure you enable them on your server before proceeding.
- Next, click on the 'Configure Environment' button (if any of the listed folders are not writable, make sure you correct this before proceeding).
- Click on the 'Form Wizard Setup' button.
Enter your 'App Name' (Usually your website/company name). Set 'App Debug' to 'False'. Change the 'App Url' to your website u. Leave other defaults and click 'Setup Database'.
- Enter in your Database credentials. Click 'Setup Application'
Leave all the defaults in the next screen and click 'Install'
- Once the installation is complete, you will see a page like below:
Click on the 'Click here to exit' button and you should then be directed to your homepage