electric
electric copied to clipboard
WIP chore(examples/linearlite) Use Yjs+TipTap for issues, allowing merging on conflicting text edits.
Clone the Electric monorep and checkout the linearlite_yjs branch:
git clone https://github.com/electric-sql/electric.git
cd electric
git checkout samwillis/linearlite_yjs
Go to the linearlite example:
cd examples/linearlite
Install the deps (we use npm here as the example is not part of the pnpm workspace):
npm install ../../clients/typescript/electric-sql-0.9.2.tgz
Start the ElectricSQL and Postgres servers (requires Docker):
npm run backend:up
Run the database migrations:
npm run db:migrate
Generate the ElectricSQL client:
npm run client:generate
Start the WevRTC signaling server (for Yjs presence):
npm run backend:webrtc
Start the development web server:
npm run dev
Start the Tauri app:
npm run tauri dev