Skip to content

lumium-technologies/lumium

Repository files navigation

Shows a black logo in light color mode and a white one in dark color mode.

lumium

next level docs - the end-to-end secure, shared productivity platform

discord

dependencies

  • postgres
  • node v16
  • yarn
  • clang
  • rustup
  • wasm-pack
  • chromium/chrome/chromedriver (optional)

local database setup

setup and start postgres, then create the necessary databases by logging into psql as a privileged user:

CREATE ROLE development WITH LOGIN ENCRYPTED PASSWORD 'development';
CREATE DATABASE lumium WITH OWNER development;
CREATE DATABASE lumium_test WITH OWNER development;

building and running locally

yarn && yarn build
yarn run dev # to start the development servers
yarn start # to start the production servers

tests

yarn test # run all test suites headless
(cd lumium-api && yarn test) # run backend unit tests
(cd lumium-renderer && wasm-pack test --chrome --headless) # run wasm browser tests
(cd lumium-space && yarn run cypress:test) # run cypress integration tests headless
(cd lumium-space && yarn run cypress:open) # run cypress integration tests headed