LumaDoc is a personal fork which tries to enhance on the foundation provided by Solardoc and implement an improved OT real-time sharing system.
To set up the project please install PNPM and Node>=16. Then run the following commands:
pnpm installIn this project we use a PNPM monorepo structure to manage the various dependencies and packages. As such, PNPM can NOT be replaced with NPM or Yarn. This is very important to not break the project.
To start the various development servers go to the individual packages and run their respective commands in their
directories or use pnpm run --filter @solardoc/<package> <command>.
-
Frontend:
pnpm run devorpnpm run --filter @solardoc/frontend dev -
Rest-API:
pnpm run startorpnpm run --filter @solardoc/rest-api start
The Redis DB is Docker-only and as such has to be started using the following command:
docker compose up -d redis-dbThe project uses .env files to define the environment variables for the various packages. The .env files are
located in the root directory of the project and in the individual packages.
Please see for every package their .env.template file to see which variables are required. The .env files in the
root directory are also used to define the variables for the Docker containers.
To deploy the project and run a production build, run the following commands:
docker compose up -dIf you already had a build before, use --build to force a rebuild:
docker compose up -d --build