# Installation

Crema doesn't have any special requirements to start the project. To run and develop Crema on the system, you need to have a React environment-ready system with the recommended version of [Node.js](https://nodejs.org/en/download/). You can use [yarn ](https://classic.yarnpkg.com/lang/en/)as well to start the project.

**Node** is a JavaScript run time built needed to run a React App. You need to install the **recommended** version of Node.js from the official website <https://nodejs.org/en/>

**Yarn** is a project manager responsible for adding and installing all the dependencies required for running the Crema on the system. You can install the latest version of Yarn from the official website <https://classic.yarnpkg.com/lang/en/>

### Development

Once you have followed the installation pre-requisite steps, You can follow the following steps to install and run the Crema:-

1\. To run the Crema, Open the Crema folder in the editor of your choice. After following the folder, open the terminal and run the following command:-

```
yarn
```

this command will automatically install the required dependencies.

{% hint style="info" %}
If you are using the Next.js version then you need to check this [doc](https://docs.cremawork.com/v/v-4-cra/)
{% endhint %}

2\. Now, run the following command to run the project in the browser.

```
yarn start
```

This command will start the project in the browser in development mode i.e. the project will run on localhost://300X URL.

3\. To add the project to the live server, you need to make the Build of the project. Run the following command to make the Build of the project.

```
yarn build
```

After successful completion of the build command, you will find the following instructions on the terminal:-

The project was built assuming it is hosted at the server root. You can control this with the homepage field in your package.json. For example, add this to build it for GitHub Pages:

"homepage" : "<http://myname.github.io/myapp>",

The build folder is to ready be deployed. You may serve it with a static server:

```
yarn global add serve
serve -s build
```

Find out more about deployment here

<https://create-react-app.dev/docs/deployment/>

In case you want to deploy on another server please change accordingly.


---

# 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://docs.cremawork.com/decelopment/installation.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.
