End-to-end Workflow
A complete walkthrough from installing Weavori to exporting synthetic data.
Last updated October 20, 2018
Scenario
You have a production PostgreSQL database and need a synthetic copy for staging or development.
Step 1: Install Weavori
If you haven't already, install Weavori for your platform.
Step 2: Authenticate
Authenticate to unlock your plan's features:
This opens your browser for a secure sign-in. See the login reference for details.
Step 3: Save your database connection
Save your PostgreSQL DSN so subsequent commands use it automatically:
Step 4: Estimate the schema
Run estimate to introspect your database and verify connectivity. This is a safe, read-only operation.
Step 5: Plan without target
Run generate without --target to see the generation plan without writing any data:
Step 6: Generate synthetic data
Create a target database and run the full generation:
For non-interactive use (CI/CD), add --yes to skip the preview prompt:
Weavori introspects, resolves dependencies, samples distributions, generates synthetic data, and exports it — all in one command.
Step 7: Verify the results
Foreign key relationships are intact — every assignee_id references a valid users.id.
Next steps
- Read about large-scale generation
- Browse the generate command reference