lakehouse

module
v0.0.0-...-dee2251 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: MIT

README

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

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL