This repository was archived by the owner on Aug 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,16 @@ $ npm install -g grunt-cli
38
38
$ gem install sass
39
39
```
40
40
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
+
41
51
## Downloading MEAN.JS
42
52
There are several ways you can get the MEAN.JS boilerplate:
43
53
@@ -152,6 +162,59 @@ And to run only the client tests, run the test:client task:
152
162
$ grunt test:client
153
163
```
154
164
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
+
155
218
## Development and deployment With Docker
156
219
157
220
* Install [ Docker] ( https://docs.docker.com/installation/#installation )
You can’t perform that action at this time.
0 commit comments