lumium-technologies / lumium

privacy-first, secure, next level collaborative documents - enabled by rust
https://lumium.space
GNU General Public License v3.0
8 stars 1 forks source link
expressjs heroku markdown nextjs reactjs rust typescript wasm webassembly

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](https://discord.gg/fCyzDzhvd4) ## dependencies - postgres - node v16 - yarn - clang - [rustup](https://rustup.rs/) - [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/) - chromium/chrome/chromedriver (optional) ## local database setup setup and start postgres, then create the necessary databases by logging into `psql` as a privileged user: ```bash 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 ```bash yarn && yarn build yarn run dev # to start the development servers yarn start # to start the production servers ``` ## tests ```bash 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 ```