Commit 9acc7cfc authored by Tim Neutkens's avatar Tim Neutkens Committed by Arunoda Susiripala

Add reference to deployment wiki page (#1423)

parent 228bbbef
...@@ -679,7 +679,7 @@ Here's an example `.babelrc` file: ...@@ -679,7 +679,7 @@ Here's an example `.babelrc` file:
## Production deployment ## 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 ```bash
next build next build
...@@ -704,6 +704,8 @@ For example, to deploy with [`now`](https://zeit.co/now) a `package.json` like f ...@@ -704,6 +704,8 @@ For example, to deploy with [`now`](https://zeit.co/now) a `package.json` like f
Then run `now` and enjoy! 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`) 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 ## FAQ
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment