> For the complete documentation index, see [llms.txt](https://doc.newsfreak.mrb-lab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.newsfreak.mrb-lab.com/app-setup/2.-code-setup.md).

# 2. Code Setup

After purchasing the app you will get a .zip file and unzip it. Inside the **main\_files** folder, you will get a folder named **wordpress\_app**. This is the source code of the app. You have to work on this to set up your app. Now open your IDE and open the **wordpress\_app** folder on your IDE. Wait some time to load the project.

Now go to the IDE terminal and run the following commands one after one :&#x20;

> * Run the following command on the IDE terminal to clean the whole project first.
>
> ```
> flutter clean
> ```
>
> * Run the following command on the IDE terminal to get all the required packages.
>
> ```
> flutter pub get
> ```

{% hint style="info" %}
Make sure these commands should be run from the root directory of the code.
{% endhint %}

<figure><img src="/files/5Q5VQoYvovyt5v8RlCeR" alt=""><figcaption></figcaption></figure>

Wait some time to get all the packages. Now, your project is ready for configuration.


---

# 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://doc.newsfreak.mrb-lab.com/app-setup/2.-code-setup.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.
