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

# Installation

<figure><img src="/files/Z6i7y9CBwbnX3pQQzyoH" alt=""><figcaption></figcaption></figure>

Requires PHP Version: >=8.1.2 & [Imagick](https://github.com/Imagick/imagick) PHP Extension

Once you extract the code files, you will see the folders as shown in the image.\
\
You can see the "**code.zip**" and "**digi\_restro.sql**" files that you require to process installation.

The following process will be used to install the admin dashboard using the package manager

1. Download the script from codecanyon.
2. Once you download and extract the script file you will find "**code.zip**". Upload this zip file to your server and extract it to your root location.
3. Create a database on cPanel and import "**digi\_restro**.**sql**".
4. Copy `.env.example` to `.env`

Fill in the database connection details in **.env**

```
DB_DATABASE=DATABASE_NAME
DB_USERNAME=DATABASE_USERNAME
DB_PASSWORD=DATABASE_PASSWORD
```

Fill in the **APP\_URL** and **ASSET\_URL** details in **.env**

```
APP_URL=http://yourdomain.com/public
ASSET_URL=http://yourdomain.com/public
```

For Example

```
APP_URL=https://demo.digirestro.s.arrangic.com/public
ASSET_URL=https://demo.digirestro.s.arrangic.com/public
```

5\. Give permission 755 to a **storage & lang** folder

6\. Your hosting must support **symlink** to enable image upload. \
\
**If symlink is not enabled then** send the below details to the hosting provider and ask them to enable symlink on given path. Replace **your\_host\_path**  with you cPanel path.\
\
\&#xNAN;**/your\_host\_path/public\_html/public/storage**\
**to** \
\&#xNAN;**/your\_host\_path/public\_html/storage/app/public** \ <br>

System Default Admin Login

```
Email: admin@menu.com
Password: Admin@123#
```
