3

Step-by-step installation

Brijesh Prajapati

Last Update منذ عام واحد

  1. Extract Downloaded File: Extract the downloaded zip file to reveal two folders - "script" and "documentation".

  2. Locate Source Code: In the "script" folder, find the source code for the HRMS. 

  3. Login to your Cpanel.
  4. Navigate to public_html Directory: In the 'File Manager,' navigate to the 'public_html' directory, which is the root directory for your website.
  5. Empty Directory if Not Empty: If the 'public_html' directory is not empty, make sure to clear it of any existing files.
  6. Upload Source Code to CPanel: Upload the contents of the "script" folder to the root directory of your CPanel in compressed form.

  7. Reload Directory and Extract Files: Reload the 'public_html' directory and extract the uploaded files.
  8. Move All Files to public_html: Move all extracted files to the 'public_html' directory.
  9. Create Database & User: Create a database & database user and ensure you copy the generated password to a secure location.
  10. Add User to Database: After creating the user, add the user to the database.
  11. Grant Privileges to User: Give all necessary privileges to the user, ensuring they have full access to the database.
  12. Configure Environment Variables:

    Locate the "env" file in the project and edit it. Insert the database connection details into the appropriate environment variables.

  13. 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.

  14. 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.

  15. Visit yourdomain.xyz Now, open a web browser and visit 'yourdomain.xyz'.
  16. Successful Installation: Congratulations! Your HRM application has been successfully installed and is ready for use.

Was this article helpful?

1 out of 1 liked this article

Still need help? Message Us