Skip to content

Commit

Permalink
Adjust README of example (#10426)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyBitz committed Feb 5, 2020
1 parent c8e5f92 commit 0b1ef7c
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions examples/with-zones/README.md
Expand Up @@ -31,21 +31,15 @@ cd with-zones

## Notes

In this example, we have two apps: 'home' and 'blog'. We'll start both apps with [Now](https://zeit.co/now):

```bash
now dev
```

Then, you can visit <http://localhost:3000> and develop for both apps as a single app.

You can also start the apps separately, for example:
In this example, we have two apps: 'home' and 'blog'. You can start each app separately, for example:

```bash
cd blog
yarn dev
```

Then, you can visit <http://localhost:3000> and develop your app.

## Special Notes

- All pages should be unique across zones. For example, the 'home' app should not have a `pages/blog/index.js` page.
Expand All @@ -55,8 +49,11 @@ yarn dev

## Production Deployment

We only need to run `now`, the same `now.json` used for development will be used for the deployment:
We only need to run `now <app>`, to deploy the app:

```bash
now
now blog
now home
```

> The rewrite destination in your `now.json` file in the `home` app must be adjusted to point to your deployment.

0 comments on commit 0b1ef7c

Please sign in to comment.