Skip to content

ryoma100/y-crdt-editor-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

y-crdt-editor-examples

y-crdt-editor-examples

setup

% cd solid-client
% npm install

development

  1. start client
    (use network)
% npm run dev -- --host

> [email protected] dev
> vite --host

  VITE v5.4.0  ready in 159 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: http://192.168.0.17:1420/
  ➜  press h + enter to show help
  1. start server
    (set your network ip address to HOST)
% HOST=192.168.0.17 npm run dev-websocket

> [email protected] dev-websocket
> y-websocket --port 1234

running at '192.168.0.17' on port 1234
  1. open web browser(s)
    (from your network PC and iPad)
% open http://192.168.0.17:1420