Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust README of example #10426

Merged
merged 1 commit into from Feb 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.