Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit aa5f12b

Browse files
committed
Merge pull request #1006 from zeldar/gulpdocs#741
Added short Gulp Section to Intro
2 parents 4dc0f30 + 1a3d3c1 commit aa5f12b

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ $ npm install -g grunt-cli
3838
$ gem install sass
3939
```
4040

41+
```bash
42+
$ npm install -g grunt-cli
43+
```
44+
45+
* Gulp - (Optional) You may use Gulp for Live Reload, Linting, and SASS or LESS.
46+
47+
```bash
48+
$ npm install gulp -g
49+
```
50+
4151
## Downloading MEAN.JS
4252
There are several ways you can get the MEAN.JS boilerplate:
4353

@@ -152,6 +162,59 @@ And to run only the client tests, run the test:client task:
152162
$ grunt test:client
153163
```
154164

165+
## Running your application with Gulp
166+
167+
After the install process, you can easily run your project with:
168+
169+
```bash
170+
$ gulp
171+
```
172+
or
173+
174+
```bash
175+
$ gulp default
176+
```
177+
178+
The server is now running on http://localhost:3000 if you are using the default settings.
179+
180+
### Running Gulp Development Environment
181+
182+
Start the development environment with:
183+
184+
```bash
185+
$ gulp dev
186+
```
187+
188+
### Running in Production mode
189+
To run your application with *production* environment configuration, execute gulp as follows:
190+
191+
```bash
192+
$ gulp prod
193+
```
194+
195+
### Testing Your Application with Gulp
196+
Using the full test suite included with MEAN.JS with the test task:
197+
198+
### Run all tests
199+
```bash
200+
$ gulp test
201+
```
202+
203+
### Run server tests
204+
```bash
205+
gulp test:server
206+
```
207+
208+
### Run client tests
209+
```bash
210+
gulp test:client
211+
```
212+
213+
### Run e2e tests
214+
```bash
215+
gulp test:e2e
216+
```
217+
155218
## Development and deployment With Docker
156219

157220
* Install [Docker](https://docs.docker.com/installation/#installation)

0 commit comments

Comments
 (0)