From f3b74021018c305e2811bb3a2ff70188cf189af5 Mon Sep 17 00:00:00 2001 From: Austin McGee <947888+amcgee@users.noreply.github.com> Date: Thu, 8 Aug 2019 13:39:07 +0200 Subject: [PATCH] Update README.md --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6a31203c..d6b8686e 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,9 @@ See [@dhis2/app-runtime](./runtime) in the `./runtime` directory for installatio ## Example -A `create-react-app` example is available at [./examples/cra](./examples/cra). Be sure to run `yarn build` in _this_ directory before installing in the example directory:' +A `create-react-app` example is available at [./examples/cra](./examples/cra). If running `yarn install` locally in the example directory, be sure to run it with `yarn install --force --check-files` so that it pulls in the runtime (specified as a `file:` dependency). -```sh -> yarn build -> cd examples/cra && yarn start -# visit http://localhost:3000 -# login to https://play.dhis2.org/dev to allow the example to retrieve data -``` +Running `yarn build` at root will automatically update the example app's copy, and running `yarn start` will build the runtime and then start the example. ## Release