Code Monkey home page Code Monkey logo

coopcycle-app's Introduction

CoopCycle

Build Status

Prerequisites

Install Node, Watchman & React Native CLI as described here.

Installation

Install dependencies with Yarn, and link them with React Native CLI.

$ yarn install
$ sudo gem install cocoapods

Running on Android emulator

NB: You may need to open the Android project in Android Studio before it builds.

  • Get a Google Maps API Key

A Google Maps API Key is needed at compilation time for Android (see AndroidManifest.xml).

You will need to have the Google Maps Android API service enabled.

  • Create a gradle.properties file in GRADLE_USER_HOME (defaults to ~/.gradle)

Learn more about configuring Gradle Build Environment

googleMapsApiKey=YOUR_API_KEY
  • Download Android Studio

Running on iOS emulator

NB: You may need to open the iOS project in xCode before it builds.

react-native run-ios

Testing

yarn test

Troubleshooting

« Have you tried turning it off and on again? »

watchman watch-del-all
rm -rf node_modules
rm -rf $TMPDIR/react-*
rm -rf $TMPDIR/haste-map-react-native-packager-*
rm -rf ~/.rncache
rm yarn.lock
yarn cache clean
yarn install
react-native link

coopcycle-app's People

Contributors

alexsegura avatar atala avatar eliasmalik avatar fadomire avatar ladias-elie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.