Skip to content

LumaDoc ~ Fork of SolarDoc with reworked real-time sharing system and additional functionality 🌌✨

License

Notifications You must be signed in to change notification settings

Luna-Klatzer/LumaDoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

500x1500 banner with desc

LumaDoc ~ A SolarDoc fork 🌌✨

LumaDoc is a personal fork which tries to enhance on the foundation provided by Solardoc and implement an improved OT real-time sharing system.

Development 🛠

Setup

To set up the project please install PNPM and Node>=16. Then run the following commands:

pnpm install

In 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.

Development

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 dev or pnpm run --filter @solardoc/frontend dev

  • Rest-API: pnpm run start or pnpm 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-db

Define the ENV vars

The 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.

Deployment

To deploy the project and run a production build, run the following commands:

docker compose up -d

If you already had a build before, use --build to force a rebuild:

docker compose up -d --build

Testing

At the moment, tests are only implemented for @solardoc/asciidoc-renderer.

To run the tests, run the following command:

pnpm run test

Is it any good?

About

LumaDoc ~ Fork of SolarDoc with reworked real-time sharing system and additional functionality 🌌✨

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 44.6%
  • Elixir 24.6%
  • Vue 19.4%
  • SCSS 8.1%
  • Dockerfile 1.6%
  • HTML 0.9%
  • Other 0.8%