improve readme

This commit is contained in:
Bud Parr 2017-05-01 17:20:49 -04:00
parent ca1ba014e4
commit bfff5cc3a9
No known key found for this signature in database
GPG Key ID: ACA375160539D2B3
1 changed files with 15 additions and 1 deletions

View File

@ -22,4 +22,18 @@ This theme uses the [Tachyons CSS Library](http://tachyons.io/). It's about 15kb
## How to Use
You'll find the commands to run in `src/package.json`. For development, cd into `src` and run `npm start` which will run webpack, processing both the postcss and scripts. For production, run `npm run build:production,` which will output minified versions of your files.
You'll find the commands to run in `src/package.json`.
For development, you'll need Node and Yarn installed:
```
$ cd themes/gohugo-theme-ananke/src/
$ yarn install
$ npm start
```
This will process both the postcss and scripts.
For production, instead of `npm start`, run `npm run build:production,` which will output minified versions of your files.