# Bring me to life!

### Generate the database with Prisma

1. Run the database generation:

{% code title="Terminal" %}

```bash
npx prisma migrate reset -f
```

{% endcode %}

{% hint style="info" %}
From now the following steps are optional but greatly recommended to get all the features to work from the beginning
{% endhint %}

2. Run your app:

{% code title="Terminal" %}

```bash
npm run dev
```

{% endcode %}

3. [Open ](http://localhost:3000)your app and signup with mail (it will be your admin) by clicking the SignIn button on the top-rigth corner.

<figure><img src="/files/Ouv7TZGhbk4m6CMB1Egs" alt=""><figcaption><p>Hit that button!</p></figcaption></figure>

4. Run the admin seed to give yourself the admin role and access the admin functions:

{% code title="Terminal" %}

```bash
npm run seed:admin
```

{% endcode %}

...

Congrats, it's ALIVE! 🥳


---

# 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.directoryfa.st/tutorials/bring-me-to-life.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.
