- Live Server:
- Open up your terminal/command prompt/command line.
- Navigate to the Daily-Task directory.
- *Type
npm installto installdevDependencies. - *Then type
gulpand pressEnterand wait for some seconds. - And There should be a live server at http://localhost:9999.
*Note: Make sure that you've installed the node.js and gulpjs on your machine. (I've written little guide below in case you've not already)
Installing node.js:
- To install node.js:
- Just download it from nodejs.org and install it.
Installing gulpjs: [when you hit npm install, gulp will be installed in current directory]
-
To install gulpjs globally: [First, Make sure you've installed
nodejs.]- Type below command in your
command lineand pressEnternpm install --global gulp
- Type below command in your
-
**To install gulpjs in your Project devDependencies: [First, Make sure you've installed
nodejs.]- Type below command in your
command lineand pressEnternpm install --save-dev gulp
- Type below command in your
** If you only install gulp in Project devDependencies then [1] It will not work in your command line. Thus You've to install it globally first, to run the command gulp.
[1] As tested in Windows 8, The gulp command isn't working without installing it globally.
MIT (c) Kaushalya Mandaliya