Installation
This section will guide you through setting up a basic NitroFIT28 documentation site from scratch.
INFO
For upgrading your existing NitroFIT28 installation, please refer to the Upgrade Guide for detailed instructions.
Server Requirements
To run NitroFIT28 efficiently, ensure that your server meets the following requirements. These include the web server, PHP version, necessary extensions, and database requirements.
Web Server
- Apache, nginx, or any other compatible web server.
PHP Requirements
- PHP Version: >= 8.2 (Recommended: Latest stable release of PHP 8.2 or 8.3)
- Required PHP Extensions:
- BCMath
- Ctype
- cURL
- DOM
- Fileinfo
- JSON
- Mbstring
- OpenSSL
- PCRE
- PDO
- Tokenizer
- XML
- Imagick (for image processing and manipulation)
- ionCube Loader® v13.0 (Ensure the latest version is installed and compatible with your PHP version)
WARNING
The ionCube Loader is critical for running encrypted files. Make sure to download and install the appropriate loader for your server's PHP version.
Database
- MySQL: Latest version recommended (minimum MySQL 5.7 or MariaDB 10.2)
Recommended Configurations
For optimal performance:
- Use nginx as the web server for faster performance and scalability.
- Enable Opcache to improve PHP execution speed.
- Allocate sufficient memory (
memory_limit
) in yourphp.ini
file (e.g., 256M or higher).
Verify Your Server Setup
Run the following command to check your PHP environment and confirm required extensions are enabled:
php -m
This command will list all installed PHP modules. Cross-check it with the list above to ensure compatibility.
WARNING
This project utilizes the latest Laravel version (currently 11.x). Refer to the Laravel documentation for more information.
The root folder for Laravel is /public
. Do not install it in a sub-folder; using a sub-domain is preferable over a sub-folder. We do not support installing our product in a sub-folder.
How to Get a License
To use NitroFIT28, you must enter a valid Envato Purchase Code. You will receive this code after purchasing the item on CodeCanyon. Please refer to the License Activation Guide for detailed steps on how to activate your copy.
Install via GUI
- Create Database and Upload Files
- Upload all files into the root folder of your hosting (typically
public_html
), excluding the following directories:/dist /node_modules /src /src-capacitor /statics
- Rename Configuration Files
- Rename the following files:
.env.example -> .env .htaccess.example -> .htaccess
- Start Installation
- Navigate to
[your-domain-name.com/install]
to begin the installation process.
- Setup Database and Site Information
- Follow the step-by-step instructions to configure your database connection, site information, and administrator account.
- Login and Setup Website
- Log in and set up your website using the Welcome Board.
Add Cron Jobs
Cron jobs are scheduled tasks that run at predefined times or intervals on your server. They are essential for automating repetitive tasks such as running scripts, performing maintenance, or triggering specific actions at set times.
To set up cron jobs for NitroFIT28, add the following lines to your server's crontab:
* * * * * /usr/bin/php8.2 {project-root}/artisan schedule:run >> /dev/null 2>&1
* * * * * /usr/bin/php8.2 {project-root}/artisan queue:manager start
Replace {project-root}
with the actual path to your NitroFIT28 project.
Post Installation
After completing the installation, refer to the Post Installation Guide for additional setup steps and best practices to ensure your NitroFIT28 site runs smoothly.