Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
amcgee authored Aug 8, 2019
1 parent c9aa123 commit f3b7402
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f3b7402

Please sign in to comment.