From 1a3d3c1f015d9b3a409ccdf2f33425bba74b906f Mon Sep 17 00:00:00 2001 From: Dustin Rea Date: Mon, 19 Oct 2015 08:09:22 +0000 Subject: [PATCH] Added short Gulp Section to Intro Added short Gulp Section to Intro Added Short Gulp Section to Intro --- README.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/README.md b/README.md index 6041212738..cfb8c31338 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,16 @@ $ npm install -g grunt-cli $ gem install sass ``` +```bash +$ npm install -g grunt-cli +``` + +* Gulp - (Optional) You may use Gulp for Live Reload, Linting, and SASS or LESS. + +```bash +$ npm install gulp -g +``` + ## Downloading MEAN.JS There are several ways you can get the MEAN.JS boilerplate: @@ -152,6 +162,59 @@ And to run only the client tests, run the test:client task: $ grunt test:client ``` +## Running your application with Gulp + +After the install process, you can easily run your project with: + +```bash +$ gulp +``` +or + +```bash +$ gulp default +``` + +The server is now running on http://localhost:3000 if you are using the default settings. + +### Running Gulp Development Environment + +Start the development environment with: + +```bash +$ gulp dev +``` + +### Running in Production mode +To run your application with *production* environment configuration, execute gulp as follows: + +```bash +$ gulp prod +``` + +### Testing Your Application with Gulp +Using the full test suite included with MEAN.JS with the test task: + +### Run all tests +```bash +$ gulp test +``` + +### Run server tests +```bash +gulp test:server +``` + +### Run client tests +```bash +gulp test:client +``` + +### Run e2e tests +```bash +gulp test:e2e +``` + ## Development and deployment With Docker * Install [Docker](https://docs.docker.com/installation/#installation)