# 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="https://865796172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FntKe5sSLfvbHfpqI4xbm%2Fuploads%2FbfqUJhrIo7wamyVLvLb2%2FCapture%20d%E2%80%99%C3%A9cran%202024-06-13%20130423.png?alt=media&#x26;token=7c374985-1aae-4533-9a75-f2c86d2f0594" 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! 🥳
