

# configure_db

`scripts.configure_db`

Command-line tool for configuring database credentials.

## Functions

| Name | Description |
|----|----|
| [create_env_file](#nova_fde.scripts.configure_db.create_env_file) | Create an environment file without password. |
| [main](#nova_fde.scripts.configure_db.main) | Configure database credentials. |

### create_env_file

``` python
scripts.configure_db.create_env_file(path, host, port, db_name, username)
```

Create an environment file without password.

#### Parameters

| Name     | Type | Description           | Default    |
|----------|------|-----------------------|------------|
| path     | Path | Path to save the file | *required* |
| host     | str  | Database host         | *required* |
| port     | int  | Database port         | *required* |
| db_name  | str  | Database name         | *required* |
| username | str  | Database username     | *required* |

### main

``` python
scripts.configure_db.main()
```

Configure database credentials.
