lakehouse
Fast docs with real-time collaboration.
Development
Source code on sr.ht,
mirrored on GitHub.
Database
We use PostgreSQL and Nix:
cd postgresql/
make init # only the first time
make start
Webserver
We use modd to autoreload:
make serve
Websocket server
We need this for real-time collaboration:
cd websocket-server/
npm install
npm start
Websocket client
This is the websocket client / frontend part of our real-time collaboration editor:
cd websocket-client/
npm install
npm run build # one-off bundle.js generation
npm run watch # develop mood, watch for changes and rebuild
Dependencies
To upgrade dependencies for each service:
go get -u all
cd websocket-server/
npx ncu -u
npm install
cd websocket-client/
npx ncu -u
npm install
Deployment
make deploy
License
MIT