Tinacms Developer Docs

Project Setup and Development Environment

Step-by-step instructions for setting up your local environment, installing dependencies, and configuring tools.

Project Setup

This project uses a monorepo structure with Turborepo and PNPM. Follow these steps to set up your environment:

Tip

We recommend using fnm or nvm to manage Node versions.

Steps

  1. Check Node Version
    Ensure your Node version matches the one in .nvmrc:

    node -v
  2. Install PNPM via Corepack
    Enable Corepack to manage PNPM:

    corepack enable

    Check that your PNPM version matches the required version in package.json:

    pnpm -v
  3. Install Dependencies

    pnpm install
  4. Build All Packages

    pnpm run build
  5. Watch for Changes (Optional)
    To enable live reloading:

    pnpm run watch
  6. Run the Starter Project
    In a separate terminal, navigate to the starter project and start the dev server:

    cd examples/basic-iframe
    pnpm run dev

You should now be able to view the starter project at http://localhost:3000.

For More info follow the instructions in the contributing.md file.

TODO: Guide on setting up Tina Cloud

On this page