Skip to content

Commit

Permalink
chore: update Linearlite readme to be consistent with READMEs of othe…
Browse files Browse the repository at this point in the history
…r examples (#115)
  • Loading branch information
kevin-dp authored Jul 18, 2024
1 parent 6fdb1b2 commit 9d6739d
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions examples/linearlite/README.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit 9d6739d

Please sign in to comment.