Getting Started¶
faux-db projects follow a small set of conventions so the CLI can discover providers, catalogs, schemas, custom functions, and output files without extra configuration.
Typical workflow¶
- Install the package and confirm the
fauxCLI is available. - Run
faux initto scaffold a starter project. - Edit files in
schemas/,providers/, andcatalogs/. - Validate everything with
faux config validate. - Generate one schema file or a full domain directory.
What faux init creates¶
The starter structure includes:
schemas/for table definitionsproviders/for named provider configurationscatalogs/for YAML lookup data used by templatesfunctions/for custom Python callablesseeds/for CSV-backed providersoutputs/for generated files
Choose your path¶
- Read Installation to set up the environment.
- Follow Quickstart to generate the example dataset in minutes.
- Read Architecture to understand how the pieces connect.
- Use Configuration when you start authoring real projects.