> For the complete documentation index, see [llms.txt](https://complainify.gitbook.io/complainify-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://complainify.gitbook.io/complainify-docs/getting-started/shared-hosting-installation.md).

# Shared hosting installation

This installation is completely manual

Hello, let's start the installation process by extracting the zip file you downloaded from Codecanyon to a folder.

First, let's start by creating a database on your cPanel or PleskPanel server (cPanel is recommended)

***

### Database install

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FqKvku16ezO8KBZlUK4SM%2Fsql1.png?alt=media&amp;token=f714cb29-815d-4114-8943-3818d5bbd26a" alt=""><figcaption><p>Step 1</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FwhSiqLZLez8YwWY41lhO%2Fsql2.png?alt=media&amp;token=93c175ed-293e-4824-9d1d-bd77b29c9a98" alt=""><figcaption><p>Step 2</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2Fx6sOb7hYllSDoqGUCcgg%2Fsql3.png?alt=media&amp;token=a924bd99-8d0b-485b-89dc-2bb756a723f3" alt=""><figcaption><p>Step 3</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FVQTJDyIQTfmlLASEVgPo%2Fsql4.png?alt=media&amp;token=051c1afe-76e7-40da-8087-e531ccaf0836" alt=""><figcaption><p>Step 4</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FLXOoeNXa6iRpZhhG2yHf%2Fsqlara.png?alt=media&amp;token=926897c9-d82c-43f6-8020-076a1ee73adb" alt=""><figcaption><p>Step 5</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FWjdExeUcX1wbXgHE2AVW%2Fsql5.png?alt=media&amp;token=4f772e89-325f-4011-9cd2-1361f7d618e8" alt=""><figcaption><p>Step 6</p></figcaption></figure>

***

### File upload

Now that the database is ready, we can proceed with editing the details and uploading the files.

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FCGUptU8EUFLSSEQfATjE%2FScreenshot_1.png?alt=media&amp;token=adda02b2-2dc7-404e-870a-58bea027a808" alt=""><figcaption><p>.env file</p></figcaption></figure>

You should update the database information in the `.env` file with the details of the database you created.

Additionally, you need to change the `APP_NAME` and `APP_URL` settings. For example, set the project name to 'Complainify' and the URL to '<https://complainify.softby.net>'.

Where is the .env file?

Go back to the folder you downloaded and check inside the 'upload\_file' folder.

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FTcnIJv85IPFloPq5DUJ4%2Fenv.png?alt=media&amp;token=a3c4d2cb-806e-4e2e-b059-952536a2c7f6" alt=""><figcaption><p>.env file</p></figcaption></figure>

After editing the file, we can re-zip all the files and upload them to our server.

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FnBZBHDdvW1siUkw845fB%2Fdosya1.png?alt=media&amp;token=40f3ecfb-65ef-4aa9-ab4e-c48df7420ce0" alt=""><figcaption><p>Step 1</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2F71znTuR3PZ5AcDj0R4i1%2Fdosya2.png?alt=media&amp;token=15500c83-3298-44f1-b91c-f75d8be61b3d" alt=""><figcaption><p>Step 2</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2Fw6ADDatpdgtlQcGQTLxO%2Fdosya3.png?alt=media&amp;token=82d1d1d6-a709-449d-8f44-32bc923e6586" alt=""><figcaption><p>Step 3</p></figcaption></figure>

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FoAGXg1vshW5JbAv1gQhE%2Fdosya4.png?alt=media&amp;token=da63f5db-d2ce-47fe-8eaf-98b6ea2b0882" alt=""><figcaption><p>Step 4</p></figcaption></figure>

***

### **Activating images after installation.**

If your server has terminal access, you can perform this operation with the command `php artisan storage:link`.\
If your server does not have terminal access, you need to create a symlink using the cron job command below. What does this do? It registers every image you upload in the storage folder, but this folder is not directly accessible from the outside, so you need to create a symlink. As a result, you need to run the cron job command every minute (\* \* \* \* \*) for it to work.

Please note that the `ln -s` command is a dangerous command, and improper use can lead to serious issues. Make sure you know the file paths on your hosting before running this.

<figure><img src="https://34906138-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlfzrimCsupIS9aXnkQJd%2Fuploads%2FCDQFnWleSVsncsWlsbLN%2FOpera%20Anl%C4%B1k%20G%C3%B6r%C3%BCnt%C3%BC_2025-02-12_043406_venus.markahost.com.png?alt=media&amp;token=654f54f9-e508-4154-8ed5-6af28feccc28" alt=""><figcaption><p><strong>example folder path</strong></p></figcaption></figure>

Once you find the path, just write the command by replacing the placeholders with the correct values. For example, in the following command, "home" refers to the main directory of your project, and "username" refers to the folder name in your path (e.g., "softbbsf"). "public\_html" refers to the root directory of your project, if it's at the root level, or it could be the folder name if it’s in a subdomain or different directory.

Here’s the final command structure:

* Replace **"home"** with your project's root directory (e.g., `/home`).
* Replace **"username"** with the folder name in your project path (e.g., `softbbsf`).
* Replace **"public\_html"** with the name of the folder where your project is located, like `public_html` or any other directory name if it is in a subdomain or custom folder.

After this, ensure that you copy the command exactly and replace the placeholders with the correct folder names.

| <p><br><code>ln -s /home/username/public\_html/storage/app/public /home/username/public\_html/public/storage</code></p> |
| ----------------------------------------------------------------------------------------------------------------------- |

### User Information

| Role  | Email             | Password |
| ----- | ----------------- | -------- |
| admin | <admin@admin.com> | admin046 |

***
