Unverified Commit 0b1ef7cb authored by Andy's avatar Andy Committed by GitHub

Adjust README of example (#10426)

parent c8e5f925
......@@ -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.
......@@ -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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment