2018-01-16 22:08:47 -05:00
|
|
|
# eleventy-base-blog
|
|
|
|
|
2018-01-16 22:22:47 -05:00
|
|
|
A starter repository showing how to build a blog with the [Eleventy](https://github.com/11ty/eleventy) static site generator.
|
2018-01-16 22:21:05 -05:00
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
2018-01-16 22:22:47 -05:00
|
|
|
### 1. Clone this repository:
|
2018-01-16 22:21:05 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://github.com/11ty/eleventy-base-blog.git my-blog-name
|
|
|
|
```
|
|
|
|
|
2018-01-16 22:22:47 -05:00
|
|
|
### 2. Navigate to the directory
|
2018-01-16 22:21:05 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
cd my-blog-name
|
|
|
|
```
|
|
|
|
|
2018-01-16 22:22:47 -05:00
|
|
|
### 3. Install dependencies
|
2018-01-16 22:21:05 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
2018-01-16 22:22:47 -05:00
|
|
|
### 4. Run Eleventy
|
2018-01-16 22:21:05 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
npx eleventy
|
|
|
|
```
|
|
|
|
|
|
|
|
Or build automatically when a template changes:
|
|
|
|
```
|
|
|
|
npx eleventy --watch
|
|
|
|
```
|
|
|
|
|
|
|
|
Or in debug mode:
|
|
|
|
```
|
|
|
|
DEBUG=* npx eleventy
|
|
|
|
```
|