-
Install git secrets.
brew install git-secrets cd green-travel-combine git secrets --install git secrets --register-aws
-
Request the following files from the maintainers:
aws-exports.js
- Place this file in the./src
folder..env
- Place this file in the root folder.
-
Add the following line to your
.bash_profile
or.zshrc
file:export MAPBOX_DOWNLOAD_TOKEN=<MAPBOX_DOWNLOAD_TOKEN>
- Install dependencies:
yarn
- For Android:
yarn run android
- For iOS:
yarn run iOS
- Download the corresponding development client.
- Start the development client:
yarn start-dev-client
- Scan the QR code.
- Follow the commit rules.
- To create new development client build, push main to
dev-client
branch. - To develop UI components in isolation "preview" can be used:
import { preview } from 'preview';
...
preview(() => (
<View style={{width: 300, backgroundColor: 'white', padding: 5}}>
<CustomSlider
minValue={0}
maxValue={10}
steps={5}
markSteps={10}
value={2}
onChangeValue={() => {}}
/>
</View>
));