www/README.md

39 lines
555 B
Markdown
Raw Normal View History

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