This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------ Prerequisites ------ | |
# Start server | |
$ mongod | |
# Start client | |
$ mongo | |
# Install packages on python 2.7 (required version of "pip" >= 10) | |
$ sudo pip install --ignore-installed pymongo | |
$ sudo pip install --ignore-installed numpy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# react-native-cli: 2.0.1 | |
# react-native: 0.55.3 | |
# NB: My rn files are inside "js" dir | |
project 'Golee.xcodeproj' | |
# Uncomment the next line to define a global platform for your project | |
# platform :ios, '9.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Podfile stable ios React Native 0.51.0 and React 16.0.0 | |
project 'Golee.xcodeproj' | |
# Uncomment the next line to define a global platform for your project | |
# platform :ios, '9.0' | |
target 'Golee' do | |
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks | |
use_frameworks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platform :ios do | |
desc "Example Fastlane - Ipa + Crashlytics" | |
lane :beta do | |
get_provisioning_profile( | |
adhoc: true, | |
force: true | |
) | |
gym( | |
export_method:"ad-hoc", | |
scheme: "MyApp", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Replace "MyApp" with your app name | |
XCODE_WORKSPACE=/Users/MacBook/iOS/MyApp.xcworkspace | |
xcrun xcodebuild \ | |
-scheme MyApp \ | |
-workspace $XCODE_WORKSPACE \ | |
-configuration Debug \ | |
-destination 'platform=iOS Simulator,name=iPhone 8,OS=11.2' \ | |
-derivedDataPath \ | |
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
platform :ios do | |
desc "This is beta lane" | |
lane :beta do | |
get_provisioning_profile( | |
adhoc: true, | |
force: true | |
) | |
increment_build_number | |
gym(export_method:"ad-hoc", | |
scheme: "Golee", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "StoryReact", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node node_modules/react-native/local-cli/cli.js start" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncomment the next line to define a global platform for your project | |
# platform :ios, '9.0' | |
target 'StoryReact' do | |
use_frameworks! | |
pod 'React', :path => './js/node_modules/react-native', :subspecs => [ | |
'Core', | |
'CxxBridge', | |
'DevSupport', | |
'RCTText', | |
'RCTNetwork', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSExceptionDomains</key> | |
<dict> | |
<key>localhost</key> | |
<dict> | |
<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> | |
<true/> | |
</dict> | |
</dict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
import React from 'react'; | |
import ReactNative, { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View, | |
} from 'react-native'; | |
const styles = StyleSheet.create({ | |
container: { |