Before You Begin: Check Requirements
To ensure a smooth installation, your server needs:
- PHP Version: 8.2.0 or higher (ask your hosting provider if you’re unsure)
- PHP Extensions (These should be enabled by default, but ask for help if needed):
- GD, BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML
- Supportive link: https://docs.cpanel.net/whm/software/php-extensions-and-applications-package/
Special Permissions Needed:
- Make sure that these folders are writable (able to save files):
- /storage
- /bootstrap/cache
Tip: If you don’t know how to do this, please contact with us.
Upload the System Files to Your Server
- Download the Files:
- Log in to your CodeCanyon account and download the Simple Stock Management System.
- Unzip (extract) the files on your computer.
- Upload Files to Your Website:
- Open File Manager in your hosting control panel (like cPanel) or use an FTP program (like FileZilla).
- Find your website’s main folder (often named public_html or a similar name).
- Upload all files from the upload folder you downloaded.
Note: If you need help with File Manager or FTP, contact your hosting provider for support.
Create a Database
Your system requires a place to store information, which we call a database.
- Go to the Databases Section:
- Open your hosting control panel (e.g., cPanel) and look for “MySQL Databases.”
- Supportive link: https://support.cpanel.net/hc/en-us/articles/360057550753-How-to-create-a-database-and-database-user-in-cPanel
- Create a New Database:
- Enter a name (e.g., simple_stock_db) and click Create.
- Create a Database User:
- Make a new user and choose a password for it. Write down these details for later.
- Link the User to the Database:
- Assign your new user to the database and give it “All Privileges” (full access).
Help: If you’re unsure about this, ask your hosting provider to help you set up the database and user.
Start the Installation Wizard
The wizard will guide you through the setup.
- Open the Installer in Your Web Browser:
- Go to your website. It will redirect to the installation route, you will find /install at the end of the address (e.g., https://yourdomain.com/install).
- Check Requirements:
- The installer will check your server settings. If all checks pass, click Next. If any items fail, contact your hosting provider.This will start the Installation Wizard.
- Enter Database Details:
- You’ll need to enter the information from Step 3:
- Database Host: Typically, localhost
- Database Name, Username, and Password you created earlier
- App URL: Your website address (e.g., https://yourdomain.com)
- Database Migration:
- The installer will now set up the necessary tables and information in your database. This may take a moment.
- If errors occur, double-check your details and make sure your server meets the requirements.
- Finalizing:
- Once the setup finishes, you’ll see a success message. You’re now ready to log in and start using your system!