godu / phutball

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started

iOS

Install all dependencies

  • Install CocoaPods sudo gem install cocoapods
  • And install ios dependencies cd ios && pod install

Run instructions for iOS:

  • npm run ios

--- or ---

  • Open ios\phutball.xcodeproj in Xcode or run xed -b ios
  • Hit the Run button

Android

Run instructions for Android:

  • Have an Android emulator running (quickest way to get started), or a device connected.
  • npm run android

Windows

Install all dependencies

Start-Process -Verb RunAs powershell -ArgumentList @("-command", "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/microsoft/react-native-windows/master/vnext/Scripts/rnw-dependencies.ps1'))")

Run instructions for Windows and macOS:

  • npm run windows

--- or ---

  • Open windows\phutball.sln in Visual Studio and press F5

Troubleshooting

  1. Clear watchman watches: watchman watch-del-all
  2. Delete node_modules: rm -rf node_modules and run yarn install
  3. Reset Metro's cache: yarn start --reset-cache
  4. Remove the cache: rm -rf /tmp/metro-*

About


Languages

Language:Java 26.2%Language:Ruby 22.4%Language:Objective-C 18.6%Language:TypeScript 13.5%Language:C# 10.5%Language:JavaScript 6.2%Language:Starlark 2.5%