Code Monkey home page Code Monkey logo

ioctocat's Introduction

iOctocat

โ€ฆ is a GitHub app for your iOS devices (iPad, iPhone and iPod Touch). It is open source and available on the App Store

For further information visit the project website.

Your participation is welcome. Feel free to fork, add missing features or report issues :)

Building and Debugging

In order to build iOctocat on your own, install the following prerequisites:

Here are some tips for providing debugging information along with issues. iOctocat logs all API calls and in the console you will find the debugging output.

  • Clone the repo and open the terminal with the directory you cloned it into

    git clone git://github.com/dennisreimann/ioctocat.git
    cd ioctocat
    
  • Install the submodules:

    git submodule update --init
    
  • Install the dependencies

    pod install
    
  • Create the HockeySDK.plist file by copying the sample:

    cp HockeySDK{.sample,}.plist
    
  • Open the project in Xcode

    open iOctocat.xcworkspace
    
  • Select "iOctocat > iPhone Simulator" in the upper left corner

  • Build and run the app by pressing the play button

  • Activate the debug console by selecting "View > Debug Area > Activate Console"

  • Clear the console (Cmd + K)

  • Move to where the error occurs

  • Copy the output in the console and attach it to your bug report

Debugging API responses

In the Debug directory is a ruby script to check the returned JSON of the GitHub.com API. Authentication is optional and is done via HTTP Basic Auth in case a username and password are provided. Usage:

Debug/api.rb PATH [USERNAME] [PASSWORD]

Example:

Debug/api.rb user/repos your_github_username your_password

This scripts writes the output and additional debugging information to a log file in the Debug directory. Please attach the output of this script to your issues.

In case you are using a Ruby version prior to 1.9 (find out with ruby -v) you will need to install the json gem with this command:

gem install json

Running the tests

To run the (sparse) test suite, you can build/test the iOctocat Unit Tests scheme.

To make the tests run from the command line you have to install ios-sim:

brew install ios-sim

Use this command to run the tests from the iOctocat directory:

TestScripts/run_tests_from_cli.rb

To run the tests on every file change, you can install Guard and its accompanying ruby gems via Bundler:

bundle install

After that you can start guard with this command:

bundle exec guard

Attribution

iOctocat uses some third party components and libraries:

ioctocat's People

Contributors

dennisreimann avatar intabulas avatar aharren avatar cvx avatar priteau avatar klaustopher avatar drodriguez avatar jlavallee avatar tadelv avatar jakewharton avatar zhen9ao avatar jamztang avatar lmarlow avatar koraktor avatar tjetzinger avatar imageoptimiser avatar

Watchers

Pali Madra avatar James Cloos avatar Ankur Sharma 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.