JeMarche application is built with React Native and Typescript.
To be able to run the application on iOS and Android, please follow the Installing dependencies part of the React Native CLI Quickstart documentation.
Steps:
- Clone the project.
- Run
yarn install
to install vendor dependencies. - Run
cd ./ios && bundle install && bundle exec pod install
to install iOS dependencies - Add the
.env.*.local
files in the/config/environments/
folder. - Run
./cli.js prepare staging
to load the staging environment file. [optional: default environment is staging] - Run
yarn start
to start de react-native bundler.
Then, you can launch the app on both iOS and Android devices:
yarn run:ios
for iOS devicesyarn run:android
for Android devices
- Run
yarn open:android
to open the Android project in Android Studio. - Run
yarn open:ios
to open the iOS project in XCode. - Run
yarn emulator
to open the Android device emulator. - Run
yarn simulator
to open the iOS device simulator. - Run
yarn react-native link
to synchronize the fonts to android/ios projects