1. Install the FlareDB CLI
The flare CLI lets you initialize and manage FlareDB instances, and provides an interactive SQL shell for querying your data.- Linux and macOS
- Windows
2. Initialize FlareDB
~/.flaredb directory and downloads the components required to run FlareDB. This is a one time setup.
3. Start an instance
8099 and is ready to accept pipeline jobs.
The local instance stores its data under
~/.flaredb, including tables created through the SQL shell and data written by pipelines.4. Run a pipeline
Clone the repository and run the WordCount example:run task starts com.flaredb.example.WordCount and submits the pipeline to your local FlareDB instance.
To learn how to build and run your own pipelines, see Run a Beam pipeline.
5. Stop the instance
Next steps
- Run a Beam pipeline — add the FlareDB runner to your own project.
- FlareDB I/O — read from and write to FlareDB tables.
- SQL shell — query your data with SQL.