# ⚙️ Configuración o primeros pasos

### **Configuración básica**

Ligne requiere una configuración mínima para su funcionamiento, usted solo debe indicarle en que base de datos, con que usuario y contraseña e inmediatamente podrá comenzar con el desarrollo de la app, fácil, ¿no?

### **Configuración de la base de datos**

En el directorio raíz existe un archivo llamado `.env.example` clona este archivo y renombralo a `.env` es donde tiene lugar la configuración de su base de datos.

```php
#localhost, ip, etc...
HOST=

USER=

PASSWORD=

DB_NAME=

# Support MySQL, pgsl(Postgres)
DRIVER=

CHARSET=utf8

COLLATION=utf8_general_ci

#For example in postgres used the schema and end on dot, public.
PREFIX=

#If not set, use the default of the database set driver
PORT=

```

Reemplace la información provista por defecto con la información de conexión de base de datos para su aplicación.

Ligne soporta los siguientes controladores de base de datos:

| **Nombre** | Driver | **Versiones**         |
| ---------- | ------ | --------------------- |
| MYSQL      | mysql  | MySQL 3.x/4.x/5.x/8.x |
| PGSQL      | pgsql  | PostgreSQL            |
| SQLITE     | sqlite | SQLite 3 and SQLite 2 |
| Oracle     | oracle | Oracle                |


---

# 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://ligne-framework.gitbook.io/ligne-framework-php/documentacion/configuracion-o-primeros-pasos.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.
