configure_db
scripts.configure_db
Command-line tool for configuring database credentials.
Functions
| Name | Description |
|---|---|
| create_env_file | Create an environment file without password. |
| main | Configure database credentials. |
create_env_file
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
scripts.configure_db.main()Configure database credentials.