> For the complete documentation index, see [llms.txt](https://thanhminh.gitbook.io/my-hash-laravel-vuejs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thanhminh.gitbook.io/my-hash-laravel-vuejs/overview/database.md).

# Install

## Step 1:

Extract the downloaded file from Codecanyon, you will see the following 2 files:

![](/files/-MFt0HAz8VPQBFqKzdiX)

Extract "myhash.zip" file and upload all files into your hosting.

## Step 2:

Create a new database.

Note: Database's collation must be "utf8mb4\_unicode\_ci",&#x20;

![](/files/-MFszQ0Na5DVXSm91eAb)

You can choose to create database with the "utf8mb4\_unicode\_ci" collation, or you can create arbitrary and then run the following SQL query, it will change the previous collation to the correct collation.

```
ALTER DATABASE <database_name> CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
```

After that, import the file "myhash.sql"&#x20;

![Choose sql file](/files/-MFt-i0iMQGR18O1o2uZ)

![Press "Go" button](/files/-MFt10byVrXXz39xJfQz)

![Then the "hashes" table will apear](/files/-MFt-qEC1Z_klfvsYdEj)

Change as follows (change the values in the \* to match your config) in .env file:

```
APP_NAME= * Your App Name *
APP_ENV=production
APP_KEY=base64:bODi8VtmENqnjklBmNJzQcTTSC8jNjBysfnjQN59btE=
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=* Your App URL *

DB_CONNECTION= * Your Database (mysql, pgsql, sqlite, sqlsrv) *
DB_HOST= * Your database host *
DB_PORT= * Your database port *
DB_DATABASE= * Your database name*
DB_USERNAME= * Your database username *
DB_PASSWORD= * Your database password *

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
```

## Step 3:

Finish the installation.&#x20;

Note: If you want to change the image in the homepage, you need to rename your image that you want to "wallpaper.jpg" and put it correctly into "public/images" directory:

![The location of the image, just overwrite it!](/files/-MFt1aZ_iOaRI3e765aA)

You can do it before or after the installation.&#x20;
