diff --git a/README.md b/README.md index b369d12..61fdb6b 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ requires the database name to connect to and the application environment (PROD o from the production environment, which is why this is necessary. An example is shown below: ```python -from cerc_persistence import CityRepo +from cerc_persistence.db_setup import DBSetup # instantiate city repo for hub production database -city_repo = CityRepo(db_name='hub', app_env='PROD') +db = DBSetup(db_name='hub', app_env='PROD', dotenv_path='/path/to/.env', admin_password='application_password', application_uuid='UUID') ``` All database operations are conducted with the production database (*PROD*) named *hub* in the example above.