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.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
flare up again when you want to start it.
Next steps
- Python quickstart - Getting started with running python pipelines on FlareDB
- Run a Beam pipeline - Add the FlareDB runner to your own project.