Conversation
docs/getting-started.md
Outdated
|
|
||
| *If you've previously installed gulp globally, run `npm rm --global gulp` before following these instructions.* | ||
|
|
||
| *Make sure that you've installed Node and NPM before attempting to install gulp.* |
There was a problem hiding this comment.
Should this be a separate step? It seems to blend with the other notice.
docs/getting-started.md
Outdated
| @@ -2,12 +2,21 @@ | |||
|
|
|||
| *If you've previously installed gulp globally, run `npm rm --global gulp` before following these instructions.* | |||
There was a problem hiding this comment.
Should this be the place where we point to the Gulp Sip article or further below?
There was a problem hiding this comment.
I think it should go here. In the part below, I think you want people focusing on npm and node installation.
| #### Install the `gulp` command | ||
|
|
||
| ```sh | ||
| npm install --global gulp-cli |
There was a problem hiding this comment.
It might make sense to mention the Sip in this section instead?
There was a problem hiding this comment.
I think the other one's better.
docs/getting-started.md
Outdated
| ``` | ||
|
|
||
| #### Create a package.json | ||
| If you don't have a package.json, create one. If you need help, run an npm init which will walk you through giving it a name, version, and description. |
There was a problem hiding this comment.
wrap package.json in code ticks. Same with npm init; should probably say "etc" of things it walks through.
docs/getting-started.md
Outdated
| If you don't have a package.json, create one. If you need help, run an npm init which will walk you through giving it a name, version, and description. | ||
|
|
||
| ```sh | ||
| npm init |
docs/getting-started.md
Outdated
| #### Create a `gulpfile` | ||
|
|
||
| Create a file called `gulpfile.js` in your project root with these contents: | ||
| In your project directory create a file called `gulpfile.js` in your project root with these contents: |
There was a problem hiding this comment.
comma after "In your project directory"
|
|
||
| #### Result | ||
|
|
||
| Voila! The default task will run and do nothing. |
There was a problem hiding this comment.
What do you mean? Isn't all of this just magic?
docs/getting-started.md
Outdated
| Voila! The default task will run and do nothing. | ||
|
|
||
| ```sh | ||
| Using gulpfile ~/gulp/gulpfile.js |
docs/getting-started.md
Outdated
| [11:15:51] Finished 'default' after 103 μs | ||
| ``` | ||
|
|
||
| To run multiple tasks, you can use `gulp <task> <othertask>`. |
There was a problem hiding this comment.
No idea whether it helps or confuses, because I don't really know what it means. Maybe a screenshot instead? Or we could just delete it? Do people know what it should look like when it "does nothing"?
There was a problem hiding this comment.
This should be moved into "Test it out" section
|
|
||
| To run multiple tasks, you can use `gulp <task> <othertask>`. | ||
|
|
||
| ## Where do I go now? |
There was a problem hiding this comment.
Want to do any improvements to this section?
docs/getting-started.md
Outdated
| # Getting Started | ||
|
|
||
| *If you've previously installed gulp globally, run `npm rm --global gulp` before following these instructions.* | ||
| *If you've [previously installed](https://medium.com/gulpjs/gulp-sips-command-line-interface-e53411d4467) gulp globally, run `npm rm --global gulp` before following these instructions.* |
There was a problem hiding this comment.
I don't like "previously installed" as the link text
docs/getting-started.md
Outdated
| #### Check for Node and npm | ||
| Make sure that you've installed Node and npm before attempting to install gulp. | ||
|
|
||
| ```node --version``` |
There was a problem hiding this comment.
I think we should have the npm --version command also.
|
|
||
| #### Result | ||
|
|
||
| Voila! The default task will run and do nothing. |
docs/getting-started.md
Outdated
| [11:15:51] Finished 'default' after 103 μs | ||
| ``` | ||
|
|
||
| To run multiple tasks, you can use `gulp <task> <othertask>`. |
There was a problem hiding this comment.
This should be moved into "Test it out" section
|
Thanks! |
No description provided.