Prerequisites:
- Node.js version 22 or higher
- pnpm version 10.19.0 or higher
- A Cloudflare account (free tier works)
Install Node.js
Ensure you have Node.js v22 or higher installed on your system. You can verify your Node.js version by running:If you need to install or upgrade Node.js, download it from nodejs.org or use a version manager like nvm.
Install pnpm
Gitflare uses pnpm for package management and workspace support. Install pnpm globally:Verify the installation:
Install dependencies
Install all project dependencies using pnpm:This command installs dependencies for all workspaces in the monorepo, including the web application and any packages.
The project uses pnpm workspaces with Turborepo for efficient monorepo management.
Set up Cloudflare account
You need a Cloudflare account to deploy Gitflare. If you don’t have one:
- Visit cloudflare.com and sign up for a free account
- Note your Account ID from the Cloudflare dashboard
- You’ll need this for deployment and database setup
Verify installation
To verify everything is set up correctly, run the type checker:Project structure
Gitflare is organized as a monorepo:Next steps
Configuration
Configure environment variables and Cloudflare services
Deployment
Deploy Gitflare to Cloudflare Workers