Skip to content

Commit 596c623

Browse files
committed
Flesh out Exponent deploy instructions.
1 parent 124946a commit 596c623

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

react-native-scripts/template/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Below you'll find information about performing common tasks. The most recent ver
1212
* [npm run android](#npm-run-android)
1313
* [npm run eject](#npm-run-eject)
1414
* [Writing and Running Tests](#writing-and-running-tests)
15-
* [Sharing & Deployment](#sharing-deployment)
15+
* [Sharing and Deployment](#sharing-and-deployment)
1616
* [Publishing to Exponent's React Native Community](#publishing-to-exponents-react-native-community)
1717
* [Building an Exponent "standalone" app](#building-an-exponent-standalone-app)
1818
* [Ejecting from Create React Native App](#ejecting-from-create-react-native-app)
@@ -59,15 +59,23 @@ This will start the process of "ejecting" from Create React Native App's build s
5959

6060
This project is set up to use [jest](https://facebook.github.io/jest/) for tests. You can configure whatever testing strategy you like, but jest works out of the box. Create test files in directories called `__tests__` to have the files loaded by jest. See the [the template project](https://github.com/react-community/create-react-native-app/tree/master/react-native-scripts/template/__tests__) for an example test. The [jest documentation](https://facebook.github.io/jest/docs/getting-started.html) is also a wonderful resource.
6161

62-
## Sharing & Deployment
62+
## Sharing and Deployment
6363

6464
Create React Native App does a lot of work to make app setup and development simple and straightforward, but it's very difficult to do the same for deploying to Apple's App Store or Google's Play Store without relying on a hosted service.
6565

6666
### Publishing to Exponent's React Native Community
6767

6868
Exponent provides free hosting for the JS-only apps created by CRNA, allowing you to share your app through the Exponent client app. This requires registration for an Exponent account.
6969

70-
TODO provide instructions
70+
```
71+
# install the exp CLI tool
72+
$ yarn global add exp
73+
# OR
74+
$ npm i -g exp
75+
76+
# run this in your project, you'll be prompted to register if you haven't already
77+
$ exp publish
78+
```
7179

7280
### Building an Exponent "standalone" app
7381

0 commit comments

Comments
 (0)