Project

General

Profile

OS X with Homebrew » History » Version 4

Yingdi Yu, 02/05/2015 11:46 AM

1 1 Alex Afanasyev
OS X with Homebrew
2
==================
3
4
OS X users have the opportunity to seamlessly install and run NFD as well as other related applications using [Homebrew](http://brew.sh/).  Installing homebrew is simple and can be accomplished by running the following command:
5
6
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
7
8
NDN packages are located in NDN homebrew "tap", which can be enabled with the following:
9
10
    brew tap named-data/ndn
11
12
After this, you can install NFD, ndn-cxx, ndnping, and ndndump tools:
13
14
    brew install nfd ndn-cxx ndnping ndndump
15
16
17
## Starting/stopping NFD
18
19
To start NFD, run
20
21
    nfd-start
22
23
To stop
24
25
    nfd-stop
26
27
## Running autoconfiguration
28
29
To automatically try to connect to the closest NDN hub, run the following command
30
31
    ndn-autoconfig -d
32
33
or
34
35
    ndn-autoconfig -d &
36
37
This will span an autoconfig client daemon which will try to discover the closest (or some) hub and connect to it.  It will also repeat the procedure when network connectivity changes or computer wakes up from sleep.
38
39
## Getting NDN certificate
40
41
If you don't have yet, you should obtain NDN certificate.  Just go to http://ndncert.named-data.net  website and follow the instructions.
42 2 Yingdi Yu
43
## Get ChronoChat
44
45 4 Yingdi Yu
We provide the binaries for Mac OS X systems: [Mavericks](http://irl.cs.ucla.edu/~yingdi/tmp/ChronoChat-0.5.6-Mavericks-10.9.dmg) and [Yosemite](http://irl.cs.ucla.edu/~yingdi/tmp/ChronoChat-0.5.6-Yosemite-10.10.dmg). **If you have downloaded the binary before, please download it again (the new binary has some bugs fixed).**
46 2 Yingdi Yu
47
You may want to take a look at a very simple [ChronoChat Manual](https://github.com/bruinfish/ChronoChat/wiki/ChronoChat-Manual) before using it.