Step-by-step installation
Brijesh Prajapati
Last Update منذ عام واحد
Extract Downloaded File: Extract the downloaded zip file to reveal two folders - "script" and "documentation".
Locate Source Code: In the "script" folder, find the source code for the HRMS.
- Login to your Cpanel.
- Navigate to public_html Directory: In the 'File Manager,' navigate to the 'public_html' directory, which is the root directory for your website.
- Empty Directory if Not Empty: If the 'public_html' directory is not empty, make sure to clear it of any existing files.
Upload Source Code to CPanel: Upload the contents of the "script" folder to the root directory of your CPanel in compressed form.
- Reload Directory and Extract Files: Reload the 'public_html' directory and extract the uploaded files.
- Move All Files to public_html: Move all extracted files to the 'public_html' directory.
- Create Database & User: Create a database & database user and ensure you copy the generated password to a secure location.
- Add User to Database: After creating the user, add the user to the database.
- Grant Privileges to User: Give all necessary privileges to the user, ensuring they have full access to the database.
Configure Environment Variables:
Locate the "env" file in the project and edit it. Insert the database connection details into the appropriate environment variables.
Connect to Server: Use SSH or check if there is a terminal installed on CPanel. Connect to the server by running: ssh user@yourip. Enter the password when prompted.
Execute Migration Command: Once connected, run the following command in the project directory: php artisan migrate:fresh --seed. This will set up the necessary database tables and seed them with initial data.
- Visit yourdomain.xyz Now, open a web browser and visit 'yourdomain.xyz'.
- Successful Installation: Congratulations! Your HRM application has been successfully installed and is ready for use.




