In the last section we got started with our X code installation and now we're going to continue with 2
everything else starting with homebrew. 3
So homebrew again is used to install Nood. 4
That's all we're going to use it for homebrew is also used to install many other OS X programs. 5
You may already have it installed. 6
If you do not. 7
No problem. 8
We're going to install it right now. 9
So I going to open up my browser and we're going to navigate directly to brew dot SH 10
once it Brooky. 11
SH There's a fantastic link right in the middle here. 12
Big text box. 13
We're going to highlight everything inside of your skin and highlight all of it and I will copy it and 14
then we're going to execute this script at our command line that script right there will automatically 15
install and configure homebrewed for us. 16
So I'll flip over to my terminal. 17
I've already got my terminal open. 18
If you do not have your eyes open you can open it right now by just running terminal like so. 19
Once my terminal is open I'm going to paste that link in here and make sure that I've got the entire 20
length series from user been all the way through the ending quotes with install over here. 21
And then I will simply run it to install it. 22
In my case I've already got homebrew installed so everything is good to go. 23
If you already have homebrew installed you can update it by running through updates. 24
And this will run through and install a bunch of or excuse me update your listing of all dependencies 25
and packages. 26
Who has access to. 27
Is usually takes like a min or two to run. 28
Will give it another second and then I'll just there we go. 29
Hopefully yours runs a little bit faster than mine. 30
I'm not on the fastest Internet connection here but no problem. 31
Well while that runs will go ahead and go through the node installation as well. 32
So I'm going to begin at the command line run the command Brue install node and this is all it takes 33
to install no. 34
Yes in my case I'm already running that update. 35
In addition I actually already have Mode installed right now version 6.3. 36
If you have an earlier version of node no problem no problem whatsoever. 37
Just make sure that you have at least a version 4.5. 38
That's kind of like the minimum cut off re-act native right now at least make sure the 4.5 this installation 39
might take you a minute or two to run through so no problem. 40
If you want to pause the video right now and let the installation finish up fantastic. 41
Once the installation is complete I'm going to confirm that node is installed by at the command line 42
running node dash V and when I run that you can see I get my version Pop up so fantastic that means 43
everything's installed on raid to use mode. 44
I can now also install the watchman program as well so I will run Brue install Watchmen. 45
I remember is a program developed by Facebook for just watching our hard drive for file changes. 46
That's all we're using it for. 47
So I will install Watchmen. 48
In my case again I think I've already got installed as you see right here. 49
If you don't have install just go ahead and again let it do its thing and only take a minute or two 50
to get set up. 51
Then the very last thing that we need to install will be the re-act native CLID at the command line 52
again. 53
I will run NPM install Dasch G re-act native Seelye and make sure you got the dashes in between each 54
of those. 55
In my case again for the fourth time in a row I've already got this installed so it's either going to 56
decide to try to do an update or just say hey you already got this going. 57
OK. 58
Looks like it just went ahead and did an update perhaps. 59
So that's it. 60
That's all we need to get started with Riak need of a lie at this point in time. 61
We're now going to use re-act need of Selye to generate our first project. 62
Once you generate a Riak need a project it really takes a minute to go through the installation. 63
It downloads a lot of dependencies and does a lot of project setup. 64
So when we generate this project this first one we're going to get started with. 65
It's to taking a little bit of time to run through. 66
We'll take a quick break and then continue development in the next section so let's get started with 67
this startup process. 68
I'm in a directory right now where I want to place my project. 69
So if you're not in a good project directory a good place to try to place it. 70
You'll want to change a directory for me right now I'm in a nice place called workspace workspace Prod. 71
which is for me short for production it means this is the code that I'm going to be writing for the 72
course and you know what I can kind of stuff. 73
Anyways the point is that I'm in a great spot right here to get started at the project so we're going 74
to generate our first project by running the command line interface. 75
We'll type in re-act native init albums re-act native is a reference to the Riak native command line 76
tool. 77
Init means we want to initialize a new project and then the last term here albums is the name of the 78
first application that we're going to build. 79
So the name of this application is going to be albums. 80
So let's go ahead and run this. 81
Again this is going to take some amount of time to get through. 82
So I'm going to pause the video right now and will continue in a little bit by getting started with 83
our excellent setup and then we're going to start working on our first application so I will catch you 84
in the next section.