Skip to content

Commit 58acbb7

Browse files
committed
Upgrade to Next 7 & Node 10
1 parent 93b97d8 commit 58acbb7

File tree

3 files changed

+6024
-9
lines changed

3 files changed

+6024
-9
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,21 @@ npm install
1515
npm run dev
1616
```
1717

18-
Deploy it to the cloud with [Heroku](https://www.heroku.com)
18+
Then, visit [http://localhost:3000/](http://localhost:3000/) in your web browser.
19+
20+
Deploy it to the cloud with [Heroku](https://www.heroku.com):
21+
22+
⚠️ *Requires installing [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli)*
1923

2024
```bash
21-
git init
22-
(echo node_modules/ && echo .next/) >> .gitignore
2325
heroku create
2426
git add .
2527
git commit -m 'Next.js app on Heroku'
2628
git push heroku master
2729
```
2830

31+
👉 An example deployment of master is running at [https://nextjs-server.herokuapp.com/](https://nextjs-server.herokuapp.com/).
32+
2933
## The idea behind the example
3034

3135
*A version of [Next's example/custom-server-express](https://github.com/zeit/next.js/tree/master/examples/custom-server-express) revised to [deploy to Heroku](https://github.com/mars/heroku-nextjs).*

0 commit comments

Comments
 (0)