0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Implement grunt dev task

closes #18
- Update grunt-contrib-watch to 0.6.0
- Add watch/dev task to Gruntfile
- Add Ruby to README
This commit is contained in:
Fabian Becker 2014-03-15 16:52:32 +01:00
parent a2682b5645
commit ea7c29bd7d

View file

@ -74,12 +74,14 @@ Learn more about using Jekyll by reading its [documentation](http://jekyllrb.com
Ghost-UI uses [Grunt](http://gruntjs.com/) with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed below and then check out the available Grunt commands. Ghost-UI uses [Grunt](http://gruntjs.com/) with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed below and then check out the available Grunt commands.
### Install Grunt ### Install Dependencies
From the command line: From the command line:
1. Install `grunt-cli` globally with `npm install -g grunt-cli`. 1. Install Ruby and bundler globally with `gem install bundler`.
2. Navigate to the root `/Ghost-UI` directory, then run `npm install`. npm will look at [package.json](https://github.com/TryGhost/Ghost-UI/blob/master/package.json) and automatically install the necessary local dependencies listed there. 2. Install Ruby dependencies with `bundle install`.
3. Install `grunt-cli` globally with `npm install -g grunt-cli`.
4. Navigate to the root `/Ghost-UI` directory, then run `npm install`. npm will look at [package.json](https://github.com/TryGhost/Ghost-UI/blob/master/package.json) and automatically install the necessary local dependencies listed there.
When completed, you'll be able to run the various Grunt commands provided from the command line. When completed, you'll be able to run the various Grunt commands provided from the command line.