create-next-app
Download create-next-app
to bootstrap the example:
npm i -g create-next-app
create-next-app --example blog-starter
Download the example or clone the repo:
curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/blog-starter
cd blog-starter
Install and run the development server:
yarn install
now dev
Deploy it to the cloud with now (download)
now
This is an example of a blog built with Next.js. Read more about the motivation and how it is built.
The blog is still barebones and need more improvements and styling, but this should be enough to get you started.