Skip to content

Instantly share code, notes, and snippets.

@marknca
Last active November 28, 2016 17:53
Show Gist options
  • Save marknca/64adc1c3131598210a64 to your computer and use it in GitHub Desktop.
Save marknca/64adc1c3131598210a64 to your computer and use it in GitHub Desktop.
Setup the OpenGraphiti project on a Mac
#! /usr/bin/env bash
# Setup a new Mac
DEVPATH="$HOME/dev/"
# Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
# Make sure that the Xcode license has been agreed to (you'll be prompted for a password)
sudo xcodebuild -license
# Install the required projects to build OpenGraphiti via Homebrew
brew install gcc
brew install cmake
brew tap homebrew/versions
brew install glfw3
brew install glew
brew install python
brew linkapps python
pip install mkdocs
pip install networkx
pip install pygeoip
# Install and build OpenGraphiti
cd $DEVPATH
mkdir $DEVPATH/dataviz
cd $DEVPATH/dataviz
git clone https://github.com/ThibaultReuille/raindance.git
cd raindance
cmake .
make
cd $DEVPATH/dataviz
git clone https://github.com/ThibaultReuille/graphiti.git
cd graphiti
cmake .
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment