# Single restaurant

From the version 1.4.0 the project supports single restaurant version.\
To enable this option you will need to make these steps:

Chande the environment variable **SINGLE\_MODE** from **false** to **true**.

```
SINGLE_MODE=true
```

Open your database using phpMyAdmin on your shared hosting or just simply open Adminer. (Adminer is php script to manage your database). The Adminer is located on **yourdomain.com/adminer**

There, login with your database username and password.&#x20;

Open **restorants** table and find the restaurant that you want to use in your project.

Find the column **id** and see which number ID is used for that restaurant.

![](/files/-MGuA9fywucsPFE5vHpV)

Now add the restaurant id in the following environment variable.

```
SINGLE_MODE_ID=1 //Restaurant id
```


---

# 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://mobidonia.gitbook.io/mresto/usage/single-restaurant.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.
