- Start the app.
yarn start - Lint the app.
yarn lint - Test the app.
yarn test
- Install dependencies:
yarn - Create a file named
.envin the root directory of the project and define your config constants there, for example:
API_URL=https://rails5-api-base.herokuapp.com/api/v1
SOME_OTHER_CONFIG=something
- Rename your new project using react-native-rename (https://github.com/junedomingo/react-native-rename)
- Start on android or ios:
react-native run-androidorreact-native run-ios
- After adding the project to CC, go to
Repo Settings - On the
Test Coveragetab, copy theTest Reporter ID - Replace the current value of
CC_TEST_REPORTER_IDon theconfig.yml file (.circleci/config.yml)with the one you copied from CC