home / skills / eng0ai / eng0-template-skills / gatsby-ecommerce-netlify

gatsby-ecommerce-netlify skill

/gatsby-ecommerce-netlify

npx playbooks add skill eng0ai/eng0-template-skills --skill gatsby-ecommerce-netlify

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
919 B
---
name: gatsby-ecommerce-netlify
description: Gatsby e-commerce starter with styled components for Netlify.
---

# Gatsby E-commerce (Netlify)

An e-commerce starter with styled components.

## Tech Stack

- **Framework**: Gatsby
- **Styling**: Styled Components
- **Package Manager**: npm

## Setup

### 1. Clone the Template

```bash
git clone --depth 1 https://github.com/netlify-templates/gatsby-ecommerce-theme.git .
```

If the directory is not empty:

```bash
git clone --depth 1 https://github.com/netlify-templates/gatsby-ecommerce-theme.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template
```

### 2. Remove Git History (Optional)

```bash
rm -rf .git
git init
```

### 3. Install Dependencies

```bash
npm install
```

## Build

```bash
npm run build
```

## Deploy to Netlify

```bash
netlify deploy --prod
```

## Development

```bash
npm run develop
```