Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepares punchpipe for SOC2NOAA Interface #94

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/source/control/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,16 @@ Configuration
==============

How to set up a configuration file.

Initializing Prefect
---------------------

If you're processing large amounts of data, it's preferred to use
postgres as the database backend instead of sqlite, Prefect's default.
This allows for more throughput and less database locking. To change the
database backend:

1. Ensure you have postgres installed and accessible
2. After replacing username, password, and database name, run:
`prefect config set PREFECT_API_DATABASE_CONNECTION_URL="postgresql+asyncpg://username:password@localhost:5432/db_name"`
3. Now you're switched over to a postgres backend