Add rake preview task for testing /test during theme development

This commit is contained in:
Michael Rose
2016-11-16 11:21:56 -05:00
parent c4252b09af
commit 91afe6c2d8
3 changed files with 84 additions and 3 deletions

View File

@ -94,6 +94,12 @@ To help me out try to avoid creating pull requests on `master` and instead branc
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
## Development
To set up your environment to develop this theme, run `bundle install`.
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using your theme and the contents of the `test/` directory. As you make modifications to your theme and to the example site, your site will regenerate and you should see the changes in the browser after a refresh.
---
## Credits