Execute [`create-next-app`](https://github.com/segmentio/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example:
Simply adjust your `now.json` (similar to in this example) by using the [routes configuration](https://zeit.co/docs/v2/deployments/configuration/#routes).
Afterwards, deploy it to the cloud with [now](https://zeit.co/now)([download](https://zeit.co/download))
```bash
now
```
## The idea behind the example
This example demonstrates how to serve files such as `/robots.txt` and `/sitemap.xml` from the root using the `public` folder in both a serverless and non-serverless environment.