From 9d6739da3b2606c278cfb9ed0709348650635ef0 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 18 Jul 2024 11:07:55 +0200 Subject: [PATCH] chore: update Linearlite readme to be consistent with READMEs of other examples (#115) --- examples/linearlite/README.md | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/examples/linearlite/README.md b/examples/linearlite/README.md index 4c9d8679f8..88f23c4b8f 100644 --- a/examples/linearlite/README.md +++ b/examples/linearlite/README.md @@ -1,20 +1,22 @@ # Linearlite -## To run -Install dependencies -```bash -pnpm install -``` +## Setup -Initialize Electric, along with a Postgres instance that will be migrated and have sample data loaded to it: +1. Make sure you've installed all dependencies for the monorepo and built packages -```bash -pnpm backend:up -# pnpm backend:down to clean up -``` +From the root directory: -Start the application +- `pnpm i` +- `pnpm run -r build` -```bash -pnpm dev -``` +2. Start the docker containers + +`pnpm run backend:up` + +3. Start the dev server + +`pnpm run dev` + +4. When done, tear down the backend containers so you can run other examples + +`pnpm run backend:down`