> 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#
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://digirestro.gitbook.io/digirestro/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
