Contribution Set-up


Development

To get started:

git clone https://github.com/tinacms/tinacms.git
cd tinacms
npm install
npm run bootstrap
npm run build

# Start the Gatsby demo
cd packages/demo-gatsby
npm run start

Do not run npm install from inside the packages directory

TinaCMS uses Lerna to manage dependencies when developing locally. This allows the various packages to reference each other via symlinks. Running npm install from within a package replaces the symlinks with references to the packages in the npm registry.

Commands

CommandsDescription
npm run bootstrapInstall dependencies and link local packages.
npm run buildBuild all packages
npm run testRun tests for all packages
lerna run build --scope \Build only \.
lerna run watchWatch all packages for rebuilds.