Documentation for the Cmesh
Find a file
Ho Sy Tan d2651bb5d1
Some checks failed
CI / Typecheck (push) Has been cancelled
CI / Check prettier (push) Has been cancelled
CI / Test (push) Has been cancelled
2025-04-04 15:39:06
2025-04-04 15:39:06 +07:00
.github Pin all workflow actions to SHA (#221) 2025-03-17 14:29:26 -04:00
.vscode 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
docs 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
scripts/util 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
src 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
static/img 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
.gitignore Upgrade deps other than MDX & React (#67) 2022-12-05 12:35:49 -06:00
.nvmrc Update node and pnpm (#164) 2024-08-13 12:24:34 -04:00
.prettierignore Use corepack pnpm instead of volta npm (#109) 2023-11-01 10:14:47 -05:00
babel.config.js Replace astro with docusaurus (#39) 2022-08-19 08:34:20 -04:00
docusaurus.config.cjs 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
netlify.toml Move nebula docs to /docs (#60) 2022-09-27 11:56:44 -04:00
package.json 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
pnpm-lock.yaml Bump @types/node from 22.13.8 to 22.13.10 (#219) 2025-03-17 16:30:45 -05:00
postcss.config.js Replace astro with docusaurus (#39) 2022-08-19 08:34:20 -04:00
prettier.config.mjs Bump prettier from 2.8.8 to 3.3.1 (#142) 2024-06-10 09:44:17 -05:00
README.md 2025-04-04 15:39:06 2025-04-04 15:39:06 +07:00
sidebars.js Replace astro with docusaurus (#39) 2022-08-19 08:34:20 -04:00
tsconfig.json Upgrade to Docusaurus v3 (#110) 2023-11-01 11:45:02 -05:00

Cmesh documentation

This is the documentation for the cmesh open source project.

Commands Cheatsheet

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm start Starts local dev server at localhost:3000

Environment setup

Node.js and pnpm

To develop this code, you'll need node.js. The exact version you get doesn't matter much, as long as it meets the requirements set in the package.json engines field, but you can reference the value in .nvmrc for the version that is used in CI.

You can install node.js directly from https://nodejs.org/en/download/, or you can use a tool like fnm to handle automatically changing your node version when switching between projects with different requirements.

To get pnpm, run corepack enable after installing node, and corepack should install the right pnpm version for you.

Project dependencies

To install our javascript dependencies, run pnpm install (or pnpm i for short). You'll want to do this whenever you change branches, if there's a possibility that dependencies have been changed or updated. If you're not able to start up the client app, this is a good first troubleshooting step to take.