Skip to content

Conversation

@janiceilene
Copy link
Member

No description provided.

Copy link
Member

@phated phated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Followed up


*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.*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a separate step? It seems to blend with the other notice.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

@@ -1,13 +1,22 @@
# Getting Started

*If you've previously installed gulp globally, run `npm rm --global gulp` before following these instructions.*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be the place where we point to the Gulp Sip article or further below?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make sense to mention the Sip in this section instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the other one's better.

```

#### 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrap package.json in code ticks. Same with npm init; should probably say "etc" of things it walks through.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed if it's above?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Deleted.

#### 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:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comma after "In your project directory"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"called" -> "named"?


#### Result

Voila! The default task will run and do nothing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this happen?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean? Isn't all of this just magic?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed a part, this is fine.

Voila! The default task will run and do nothing.

```sh
Using gulpfile ~/gulp/gulpfile.js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change /gulp/ to my-project?

[11:15:51] Finished 'default' after 103 μs
```

To run multiple tasks, you can use `gulp <task> <othertask>`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this help or confuse?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved into "Test it out" section


To run multiple tasks, you can use `gulp <task> <othertask>`.

## Where do I go now?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to do any improvements to this section?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!

# 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.*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like "previously installed" as the link text

#### Check for Node and npm
Make sure that you've installed Node and npm before attempting to install gulp.

```node --version```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should have the npm --version command also.


#### Result

Voila! The default task will run and do nothing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed a part, this is fine.

[11:15:51] Finished 'default' after 103 μs
```

To run multiple tasks, you can use `gulp <task> <othertask>`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved into "Test it out" section

@phated phated merged commit c95e09e into gulpjs:master Jul 19, 2017
@phated
Copy link
Member

phated commented Jul 19, 2017

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants