### Starting Development Server - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Starts the local development server for the Bolt application. Use this command during active development. ```bash pnpm run dev ``` -------------------------------- ### Starting Development Server with pnpm (Bash) Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Executes the pnpm command to start the Remix Vite development server. ```bash pnpm run dev ``` -------------------------------- ### Installing Project Dependencies - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Installs all necessary project dependencies using the pnpm package manager. This command should be run after cloning the repository. ```bash pnpm install ``` -------------------------------- ### Building the Project - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Builds the Bolt project for production deployment. This command compiles and optimizes the application code. ```bash pnpm run build ``` -------------------------------- ### Cloning the Bolt Repository - Bash Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Clones the Bolt open-source repository from GitHub to your local machine. This is the first step in setting up the project. ```bash git clone https://github.com/stackblitz/bolt.new.git ``` -------------------------------- ### Previewing Production Build Locally - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Builds the project and then runs the production build locally for testing. Useful for verifying the production output before deployment. ```bash pnpm run preview ``` -------------------------------- ### Deploying to Cloudflare Pages - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Builds the project and deploys it to Cloudflare Pages. This command automates the deployment process. ```bash pnpm run deploy ``` -------------------------------- ### Running Tests with pnpm (Bash) Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Executes the pnpm command to run the project's test suite. ```bash pnpm test ``` -------------------------------- ### Running Test Suite - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Executes the project's test suite using Vitest. Use this command to ensure code quality and functionality. ```bash pnpm test ``` -------------------------------- ### Running Built Application Locally - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Runs the production-built application locally using Wrangler Pages. This script handles environment variable bindings. ```bash pnpm run start ``` -------------------------------- ### Generating TypeScript Types - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Generates TypeScript types using Wrangler. This is typically used for Cloudflare Workers/Pages bindings. ```bash pnpm run typegen ``` -------------------------------- ### Configuring Log Level - dotenv Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Optionally sets the VITE_LOG_LEVEL environment variable for debugging purposes. Add this line to the `.env.local` file. ```dotenv VITE_LOG_LEVEL=debug ``` -------------------------------- ### Deploying Application with pnpm (Bash) Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Executes the pnpm command to deploy the application, specifically targeting Cloudflare Pages. Requires necessary permissions and Wrangler configuration. ```bash pnpm run deploy ``` -------------------------------- ### Configuring Anthropic API Key - dotenv Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Sets the Anthropic API key required for integrating with the AI model. This line should be added to a `.env.local` file in the project root. ```dotenv ANTHROPIC_API_KEY=XXX ``` -------------------------------- ### Running TypeScript Type Checking - pnpm Source: https://github.com/stackblitz/bolt.new/blob/main/CONTRIBUTING.md Performs static type checking on the project's TypeScript code. Helps catch type-related errors before runtime. ```bash pnpm run typecheck ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.