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

# Building

## 1. Overview

![](/files/-M71kBoZ3BlieRsxYSpK)

*Figure 12: Generating the new module (Admin side)*

You're finally done (or you think so), so it's time to generate the module.

### Create copy of this module in root/modules

By default ModuleBuilder writes the files to /uploads/modulebuilder/repository folder.

Pay attention: if yes, then an existing module with same name will be overwritten irreversible!

But if you're sure that you want to overwrite you current files, you can select the module to overwrite. This will save you some time, as you don't have to copy the files from the /uploads folder.

### Save and restore test data of selected module

If you create copy of this module in root/modules then all data of previous module will be deleted. If you select this option, then data of selected module will be stored temporary and copied back as test data to new build module

## 2. Run data check

Before you build the module you can run a data check to find out, whether your current settings have invalid or whether some functions will not work properly.

If data check finds no problems you will get this information back

![](/files/-M8JK3a4XotJpKrqWwI7)

If data check finds problems they will be listed

![](/files/-M8JK3a5gBEXDF-MdtSB)

Important:

* **Errors must be solved**
* **Warnings should be solved in order to get proper functions**


---

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

```
GET https://xoops.gitbook.io/modulebuilder-tutorial/2administration/building.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.
