Giter Site home page Giter Site logo

phpsmarter / react-native-gitfeed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiekw2010/react-native-gitfeed

0.0 2.0 0.0 1.11 MB

Yet another Github client written with react-native.

License: GNU General Public License v3.0

JavaScript 62.48% Java 0.54% Shell 0.03% Objective-C 36.93% Ruby 0.02%

react-native-gitfeed's Introduction

Github Feed

js-standard-style

Yet another Github client written with react-native.

Includes ?

  1. Feeds like web github home.
  2. Search users or repos.
  3. Star, watch repos, follow guys.
  4. Explore trending repos daily, weekly, monthly.
  5. Check who's famous in some filed all of the world.

Online apps

iOS:

android:

2016_02_29_2007551457

How to build this

###Register(If you don't need login, skip this step)

  1. You a github client key and secret, check this out!

  2. change config.js

Filling your github client and key

###Install JS env

npm install

if error about 'EACCS' try

sudo chown -R $(whoami) "$HOME/.npm"

##iOS

open the project in ios dir cd ios

pod install

Release mode

  1. edit xcode project RN_CNNode's scheme to release mode

screenshot

  1. bundle the JS resources, in project root dir
react-native bundle --platform ios --entry-file index.ios.js --bundle-output ./release/main.jsbundle --assets-dest ./release --dev false
  1. xcode run!

Debug mode

Edit xcode project RN_CNNode edit scheme to debug mode

Xcode run!

##Android

Use Android studio to open the android dir, the studio will take a lot time to build the project(just be patient).

Release mode

Connect your devices with USB.

Open Android studio,change the Build Variants to release

Device

sh ./build_android.sh

Emulator

Just run the project

Debug mode

react-native run-android

Emulator run some device.

Code-push practice (This step is optional)

  1. mkdir ~/Desktop/release
  2. bundle the js resources
// including image resources
react-native bundle --platform ios --entry-file index.ios.js --bundle-output ~/Desktop/release/main.jsbundle --assets-dest ~/Desktop/release --dev false

// not including image resources
react-native bundle --platform ios --entry-file index.ios.js --bundle-output ~/Desktop/release/main.jsbundle --dev false

Check app status

code-push deployment ls GitFeed-iOS

Publish update

code-push release GitFeed-iOS ~/Desktop/release 1.0.0 -d Production

##Let's talk about it(So far only Chinese supported)

一次RN跨平台开发之旅

###License GPL. Copyright (c) David Tse.

react-native-gitfeed's People

Contributors

shenqihui avatar xiekw2010 avatar

Watchers

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