Skip to content

Commit 7acd48e

Browse files
committed
update README of the example
1 parent 22a2322 commit 7acd48e

File tree

1 file changed

+33
-36
lines changed

1 file changed

+33
-36
lines changed

example/README.md

+33-36
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
1-
# react-native-material-kit demo
2-
3-
## RNMK resources
4-
- [GitHub][RNMK]
5-
- [Docs (annotated source)][docs]
6-
- [Change logs][releases]
7-
8-
## Debugging local RNMK module
9-
10-
- Checkout [RNMK Demo]
11-
- Clone [RNMK] into the *Libraries* directory (inside the demo project)
12-
- Edit `react-native.config.js` file, replace `<absolute_project_root>` with your local project directory
13-
- Link your local RNMK module to the demo project
14-
```sh
15-
cd rnmk-demo
16-
yarn
17-
18-
(cd Libraries/react-native-material-kit && yarn && yarn build)
19-
(cd iOS && pod install)
20-
```
21-
- Commands
22-
- `yarn start` to start the dev server
23-
- `yarn iosx` build your app and starts it on iOS simulator
24-
- `yarn android` build your app and starts it on a connected Android emulator or device
25-
- or run any `react-native` commands: `yarn cli [options] [command]`
26-
27-
## License
28-
[MIT][license]
29-
30-
[RNMK Demo]: https://github.com/xinthink/rnmk-demo
31-
[RNMK]: https://github.com/xinthink/react-native-material-kit
32-
[docs]: http://xinthink.github.io/react-native-material-kit/docs/index.html
33-
[releases]: https://github.com/xinthink/react-native-material-kit/releases
34-
[license]: https://raw.githubusercontent.com/xinthink/react-native-material-kit/master/LICENSE.md
35-
[doesn't resolve symbolic links]: https://github.com/facebook/react-native/issues/637
36-
[ios guide]: https://github.com/xinthink/react-native-material-kit#ios
1+
# Example APP
2+
3+
## Build & run the example app
4+
5+
Checkout the [repo] first.
6+
7+
Build & launch:
8+
9+
```sh
10+
yarn # install dependencies
11+
12+
cd example
13+
yarn # install dependencies of the example app
14+
(cd iOS && pod install) # prepare iOS xcode workspace
15+
yarn start # start the react-native packager
16+
yarn ios # or yarn android, launch the example app
17+
```
18+
19+
Available npm scripts:
20+
- `yarn start` to start the dev server
21+
- `yarn ios` build your app and starts it on iOS simulator
22+
- `yarn iosx` build your app and starts it on iPhone X simulator
23+
- `yarn android` build your app and starts it on a connected Android emulator or device
24+
- or run any `react-native` commands: `yarn cli [options] [command]`
25+
26+
## Resources
27+
28+
- :point_right: [Getting Started Guide]
29+
- :point_right: [API Docs]
30+
31+
[repo]: https://github.com/xinthink/react-native-material-kit
32+
[Getting Started Guide]: https://github.com/xinthink/react-native-material-kit#getting-started
33+
[API Docs]: https://rnmk.xinthink.com/api/react-native-material-kit/

0 commit comments

Comments
 (0)