DeployHQ provides a collection of curated public framework templates that help you get started quickly with popular web development frameworks and platforms. These templates include pre-configured build commands, deployment settings, and best practices for each framework.

## Accessing Public Framework Templates

Public framework templates are available from the **Templates** section in your DeployHQ account. Navigate to **Templates** from the main navigation to see both public framework templates and your private templates.

The public templates are organized into categories for easy browsing:

- **Static Sites** - Jekyll, Hugo, Gatsby
- **Frontend Frameworks** - React, Vue.js, Angular, Next.js, Nuxt.js
- **Backend Frameworks** - Laravel, Django, Rails, Symfony, FastAPI
- **Content Management** - WordPress, Drupal, Ghost, Craft CMS, Kirby, ProcessWire, Strapi
- **E-commerce** - Shopify, WooCommerce, Magento

## Browsing Templates by Framework

You can filter templates by framework category using the tabs at the top of the public templates section:

![Public Framework Templates](https://i.ibb.co/HDjCP6tv/templates-all.png)

- Click **All** to view all available public templates
- Select a specific framework category to view only templates for that type
- Each template displays the framework logo, name, version compatibility, and description

## Previewing Template Details

Before using a template, you can preview its configuration by clicking the **Preview** button on any template card. The preview modal provides detailed information in two tabs:

### Overview Tab
- **Description** - Detailed explanation of what the template provides
- **Framework Version Compatibility** - Which versions of the framework are supported
- **What's Included** - List of pre-configured features and settings

![Template Preview - Overview](https://i.ibb.co/F1D69zr/templates-modal-overview.png)

### Template Contents Tab
- **Build Commands** - Pre-configured build scripts and commands
- **SSH Commands** - Server setup and deployment commands
- **Excluded Files & Directories** - Files and folders excluded from deployment

![Template Preview - Contents](https://i.ibb.co/MxXVV9mX/templates-modal-contents.png)

All commands in the preview can be copied to your clipboard using the **Copy** button next to each command.

## Using a Public Template

To use a public framework template for a new project:

1. **From the Templates page**: Click **Use Template** on the template card
2. **From the New Project page**: Select a template from the **Template** dropdown when creating a new project

When you select a public template:

- You'll be redirected to the new project creation page
- The template will be automatically applied to your new project
- All template configurations (build commands, deployment settings, etc.) will be copied to your project
- You can modify or remove any template settings that aren't needed for your specific project

## Template Features

Public framework templates typically include:

- **Build Commands** - Framework-specific build and compilation steps
- **SSH Commands** - Server setup and deployment automation
- **Config Files** - Common configuration files for the framework
- **Excluded Files** - Automatically exclude common files that shouldn't be deployed (node_modules, .git, etc.)
- **Environment Settings** - Framework-specific environment configurations

## Benefits of Using Public Templates

- **Quick Setup** - Get started with best practices immediately
- **Framework Expertise** - Leverage configurations created by framework experts
- **Consistent Deployments** - Use proven deployment patterns
- **Time Saving** - Avoid recreating common configurations
- **Learning Resource** - See how to properly configure deployments for your framework

## Customizing Public Templates

After applying a public template to your project, you can:

- Modify build commands to match your specific build process
- Add or remove SSH commands based on your server requirements
- Update excluded files based on your project structure
- Add additional configuration files specific to your project
- Modify notification settings and server configurations

## Creating Private Templates

If you have custom configurations that work well for your team, you can create private templates based on your existing projects. This allows you to:

- Share configurations across your team
- Maintain consistency across multiple projects
- Create templates specific to your infrastructure and deployment patterns

See the [Templates documentation](Article: #171) for more information on creating and managing private templates.