Skip to content

Installing or Building GitNub

mattfoster edited this page Sep 12, 2010 · 31 revisions

Requirements

  • OS X Leopard 10.5
  • Open4 `gem install open4`
    • You may have to do `sudo /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem install open4` if you’re using macports ruby or otherwise not the default os x ruby

Installing from the distribution

  1. Copy GitNub.app to /Applications/*
  2. Copy the nub binary to /usr/local/bin or somewhere else in your path.

Building From Source

  1. git clone git://github.com/Caged/gitnub.git
  2. cd gitnub
  3. git submodule init
  4. git submodule update
  5. Open the GitNub.xcodeproj in XCode and press build
    OR run `xcodebuild` in the root directory
    OR run ‘rake build’
  6. Move ./build/Release/GitNub.app to /Applications
    OR symlink with ‘ln -s build/Release/GitNub.app /Applications/GitNub.app’
  7. Move the nub shell script to /usr/local/bin (or symlink it somewhere)

Run from Source

  1. git clone git://github.com/Caged/gitnub.git
  2. cd gitnub
  3. git submodule init
  4. git submodule update
  5. Open the GitNub.xcodeproj in XCode and press “Build and Go”
    OR run ‘rake run’

Setting up network branch visualization (github-hosted repos only)

Look at the ‘network’ page of the repo, the one that looks like this:

  • http://github.com/#{@github_user}/#{@github_repo}/network

Then within your repo, run

  1. git config github.user GITHUB_USER
  2. git config github.repo GITHUB_REPO

(using the values from the URL above). For more see Integration with Github

Clone this wiki locally