Skip to content

Commit

Permalink
[PR] update bundler link, add more instructions for setting up npm
Browse files Browse the repository at this point in the history
Summary: Closes facebook#3726

Differential Revision: D4888184

Pulled By: nmote

fbshipit-source-id: 4dcdc4f4365bc713f2e8030163cb0eca0f4a3306
  • Loading branch information
danidewitt authored and facebook-github-bot committed Apr 14, 2017
1 parent 5e0d4a3 commit d309793
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pre-installed with Ruby, but you may need to update RubyGems (via

- [Ruby](http://www.ruby-lang.org/) (version >= 1.8.7)
- [RubyGems](http://rubygems.org/) (version >= 1.3.7)
- [Bundler](http://gembundler.com/)
- [Bundler](http://bundler.io/)

The version of the Pygment syntax highlighter used by Jekyll requires Python
2.7.x (not 3.x). macOS comes pre-installed with Python 2.7, but you may need to
Expand Down
15 changes: 14 additions & 1 deletion website/en/docs/_install/setup-npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,25 @@ npm install --save-dev flow-bin

**Run Flow:**

The first time, run:

```sh
npm run flow init
```

```
> [email protected] flow /Users/Projects/my-flow-project
> flow "init"
```

After running `flow` with `init` the first time, run:

```sh
npm run flow
```

```
> [email protected] flow /Users/jimi/Projects/my-flow-project
> [email protected] flow /Users/Projects/my-flow-project
> flow
No errors!
Expand Down

0 comments on commit d309793

Please sign in to comment.