GithubHelp home page GithubHelp logo

cricrio / coopcycle-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coopcycle/coopcycle-app

0.0 1.0 0.0 71.67 MB

CoopCycle native app

License: MIT License

JavaScript 92.82% Java 1.76% Objective-C 1.05% Ruby 1.29% C 0.01% Swift 3.00% Starlark 0.07%

coopcycle-app's Introduction

CoopCycle

Build Status

Build Status

Prerequisites

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

Install dependencies to compile node-canvas depending on your OS.

Setup - All Platforms

Install dependencies with Yarn.

$ yarn install

Populate your local .env file:

$ cp .env.dist .env

Set up Firebase

Setup - Android

Get a Google Maps API Key

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

  • To get an API key follow the instructions Get API key

  • Make sure that you have Maps SDK for Android API enabled in your Google Cloud Platform Console

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

Learn more about configuring Gradle Build Environment

googleMapsApiKey=YOUR_API_KEY

Setup - iOS

iOS development requires macOS and CocoaPods.

$ sudo gem install -n /usr/local/bin cocoapods
$ cd ios && pod install

Testing

yarn test

Troubleshooting

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

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

coopcycle-app's People

Contributors

alexsegura avatar dependabot-preview[bot] avatar atala avatar vova1vova avatar eliasmalik avatar 552020 avatar vladimir-8 avatar jfoclpf avatar trendspotter avatar pierwmaria avatar miguelpeixe avatar vincentdcom avatar weblate avatar uzultras avatar ladias-elie avatar jamesdgrant avatar jasonprado avatar mcorreggiari avatar rffontenelle avatar dingusdong avatar fadomire avatar

Watchers

James Cloos 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.