shlogg · Early preview
Ramu Narasinga @karthik-m22

Git Submodule Setup For Grida Development Environment

To set up Grida's dev env, use `git clone --recurse-submodules https://github.com/gridaco/grida`. This clones submodules & allows pnpm install. Run `pnpm run dev` to start dev environment.

I am currently contributing to an open-source project called Grida, specifically working on building a canvas with a figma like interface. In order to setup the Grida’s development environment, you need to use git submodules. I didn’t know this, got a hint from the authors at Grida and I decided to share what is a git submodules command in this article.

  
  
  Git Submodules

I am quoting below what I found in the git-scm site.


It often happens that while working on one project, you need to use another project from within it. Perhaps it’s a library that a third party developed or that you’...