Giter Club home page Giter Club logo

temacucar's Introduction

TemAcucar

Tem Açúcar Android and iOS apps, built with React Native + Redux.

Installation

  • clone the project
  • run npm install

Configuration

  1. Copy .env.sample to .env.debug to create debug environment for development and set the config vars.

  2. Copy .env.sample to .env.staging to create staging environment and set the config vars.

  3. Copy .env.sample to .env.production to create production environment and set the config vars.

iOS Setup

Xcode 7.0 or higher is required. It can be installed from the App Store.

Android Setup

Running on iOS

bin/run-ios

Running on Android

bin/run-android

Building release for iPhone

  • For staging environment release, run bin/build-ios

  • For debug environment release, run ENV=debug bin/build-ios

  • For production environment release, run ENV=production bin/build-ios

Building release for iOS simulator

  • For staging environment release, run bin/build-ios-simulator

  • For production environment release, run ENV=production bin/build-ios-simulator

Building release for Android

  1. Request the appropriate keystore file and passwords to your team's manager and save the keystore file to android/app

  2. Configure the passwords on the appropriate .env.* files

  3. Then:

  • For staging environment release, run bin/build-android

  • For production environment release, run ENV=production bin/build-android

Releasing iOS bundle to CodePush

Use this if you didn't need to rebuild and just want to publish new JS + assets (works only on device, wont work on Appetize.io).

bin/bundle-ios
code-push release TemAcucar-iOS ./release/ios-bundle 0.0.1 --description "Release Changelog" --mandatory

Releasing Android bundle to CodePush

Use this if you didn't need to rebuild and just want to publish new JS + assets (works only on device, wont work on Appetize.io).

bin/bundle-android
code-push release TemAcucar-Android ./release/android-bundle 0.0.1 --description "Release Changelog" --mandatory

temacucar's People

Contributors

danielweinmann avatar wesley1001 avatar

Stargazers

 avatar  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.