Skip to content

Commit

Permalink
Fix a few minor typos in guides (phoenixframework#3845)
Browse files Browse the repository at this point in the history
Co-authored-by: Frédéric Boyer <[email protected]>
  • Loading branch information
fboyer and Frédéric Boyer authored May 14, 2020
1 parent be3b739 commit 57fae9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guides/deployment/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $ mix phx.digest
Check your digested files at "priv/static".
```

*Note:* the `--prefix` flag on `npm` may not work on Windows. If so, replace the first command by `cd assets && npm run deply && cd ..`.
*Note:* the `--prefix` flag on `npm` may not work on Windows. If so, replace the first command by `cd assets && npm run deploy && cd ..`.

And that is it! The first command builds the assets and the second generates digests as well as a cache manifest file so Phoenix can quickly serve assets in production.

Expand Down
2 changes: 1 addition & 1 deletion guides/deployment/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $ npm run deploy --prefix ./assets
$ mix phx.digest
```

*Note:* the `--prefix` flag on `npm` may not work on Windows. If so, replace the first command by `cd assets && npm run deply && cd ..`.
*Note:* the `--prefix` flag on `npm` may not work on Windows. If so, replace the first command by `cd assets && npm run deploy && cd ..`.

And now run `mix release`:

Expand Down

0 comments on commit 57fae9b

Please sign in to comment.