1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Add reference to deployment wiki page (#1423)

This commit is contained in:
Tim Neutkens 2017-03-15 03:38:00 +01:00 committed by Arunoda Susiripala
parent 228bbbef74
commit 9acc7cfc68

View file

@ -679,7 +679,7 @@ Here's an example `.babelrc` file:
## Production deployment
To deploy, instead of running `next`, you probably want to build ahead of time. Therefore, building and starting are separate commands:
To deploy, instead of running `next`, you want to build for production usage ahead of time. Therefore, building and starting are separate commands:
```bash
next build
@ -704,6 +704,8 @@ For example, to deploy with [`now`](https://zeit.co/now) a `package.json` like f
Then run `now` and enjoy!
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.
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`)
## FAQ