# GUI Installer

With the installer UI, you can easily setup your admin end easily.&#x20;

Here is how to use it

* After uploading the foodie admin end and unzipping it on the server, then visit **<https://YOUR\\_SERVER\\_URL/install>** on your preferred browser.
* You would be see a page similar to this

![](/files/-MWFTtwT4G1yEc7oTr3Y)

* Click on the **Check Requirements**, you will be taken to the server requirements check page.

![](/files/-MWFU2NLLviSqm4WE-XG)

* Click on the **Check Permissions**, you will be taken to the permission check page.

![](/files/-MWFUbbe2ngjm5vEI_Bg)

{% hint style="danger" %}
**Note:** Make sure the project has all the needed folder permission. Required folder permission is 775.
{% endhint %}

If you don't have the permission set, login to your cPanel account and run the following command to set the required permission.&#x20;

Run this command to set the permission for storage and bootstrap  folder

```bash
sudo chmod -R 775 storage
sudo chmod -R 775 bootstrap
```

You can also change the folders permission using the file explorer on your cpanel. Here is a link to change folder permission on cpanel:\
&#x20;<https://blog.cpanel.com/how-to-assign-permissions-to-files-and-folders-in-cpanel/>

* Click on the **Configure Environment**, you will be taken to the Environment settings page.&#x20;

![](/files/-MWFVQXXIJeyGkjuuDf8)

* You can select your how you want to configure the .env file here.&#x20;

There are two options:

1. Form Wizard Setup
2. Classic Text Editor: This option will show you the content of the .env file and allow you to manually edit the content like you would do on your computer text editor.

### Using Form Wizard Setup

When using the form wizard setup, you would be shown a form with labelling, indicating the entry expected for each form input.

* The first page is meant for app settings e.g app name, app environment (local, staging, dev, production) etc.

![](/files/-MWFWkfeARD-XHs_tv3x)

* The next page is meant for database related

![](/files/-MWFWrEojj6v5U8Socfr)

* The last page is for application integration settings

![](/files/-MWFX2OBRnCC954uONVs)

After setting up the .env file either using the **Classic text editor** or **Form Wizard**, click on **Install**.

Then a page showing all the action performed and installation status will be shown.

![](/files/-MWFXUUXrqASSMib8mIr)

Then your admin end is ready for use.


---

# Agent Instructions: 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:

```
GET https://edentech.gitbook.io/instahaul/backend/gui-installer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
