-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update Linearlite readme to be consistent with READMEs of othe…
…r examples (#115)
- Loading branch information
Showing
1 changed file
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |