Skip to content

Commit 9acc7cf

Browse files
timneutkensarunoda
authored andcommitted
Add reference to deployment wiki page (#1423)
1 parent 228bbbe commit 9acc7cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ componentWillReceiveProps(nextProps) {
432432
```
433433

434434
> NOTES:
435-
>
435+
>
436436
> Shallow routing works **only** for same page URL changes. For an example, let's assume we've another page called `about`, and you run this:
437437
> ```js
438438
> Router.push('/about?counter=10', '/about?counter=10', { shallow: true })
@@ -679,7 +679,7 @@ Here's an example `.babelrc` file:
679679

680680
## Production deployment
681681

682-
To deploy, instead of running `next`, you probably want to build ahead of time. Therefore, building and starting are separate commands:
682+
To deploy, instead of running `next`, you want to build for production usage ahead of time. Therefore, building and starting are separate commands:
683683

684684
```bash
685685
next build
@@ -704,6 +704,8 @@ For example, to deploy with [`now`](https://zeit.co/now) a `package.json` like f
704704

705705
Then run `now` and enjoy!
706706

707+
Next.js can be deployed to other hosting solutions too. Please have a look at the ['Deployment']('https://github.com/zeit/next.js/wiki/Deployment') section of the wiki.
708+
707709
Note: we recommend putting `.next` in `.npmignore` or `.gitignore`. Otherwise, use `files` or `now.files` to opt-into a whitelist of files you want to deploy (and obviously exclude `.next`)
708710

709711
## FAQ

0 commit comments

Comments
 (0)