Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
The download just finished and now we have this a node modules that contains all of the different dependencies
that we need to run our application.
So let's actually go ahead and run our newly created Linux application.
Now in order to do this, well, we're going to need to do is go to the package dot JSON and in here
you can see we have three different scripts now in order to run our application in development mode.
So in a development environment, well we're going to do is run and PM run dev which is going to run
Linux.
C Remember Linux is the Knox CLV that is going to execute the dev command.
This is going to spin up the application on local host 3000.
And any time we make any changes to our code base, it is going to detect those changes and put those
changes on local host 3000 as well.
So it's going to continuously watch for those changes.
So let's go ahead and run AMPM, run Dev.
I'm going to go over here to our terminal and inside of the terminal.
I'm actually close this up a little bit.
I'm going to do AMPM Run Dev.
Now notice one thing as soon as I run AMPM run dev, we're going to get a new directory right over here
called Dot Knox.
This is the build directory that we're actually going to need to utilize in order to deploy that.
Just a quick note, but we don't need to work with it right now.
So over here you can see that we have local is 3000.
So now let's go to our our Safari application or Google Chrome.
That's actually what I'm going to be using Google Chrome and I'm going to go ahead and just paste in
Local 3000 and there we go.
We see our boilerplate Linux application.
So if you see this, you've got Knox successfully up and running.
Now, one thing that I want to note is that I am running this video on a 27 inch iMac.
So really if I went to 100%, it should look a little something like this.
But I'm always going to be a little bit more zoomed in than usual just because obviously this isn't
very pleasing to look at.
This is very small and we can't see a lot.
So I'm zoomed in around like 200%.
So over here we get this very plain, boring boilerplate application.
So we have documentation over here.
We can click on it to see the documentation.
We can click on to see the Twitter.
And then over here you can see that we can see this welcome page.
And this welcome page is either in the airport view directory or it's in the pages directory and it's
a indexed dot view file.
So let's actually explore exactly where this code, where this this thing is coming from inside of our
Linux app.
So right now inside of our Nooks application, we only have one view file the app dot view.
And over here all we have is a template, just a basic view file template and a div.
And then right in here we have this nux welcome component.
Now you might be wondering if you're familiar with view and you should be for taking this course.
Where is this nux welcome component living?
This is something that we have to define.
Well, this is actually coming from the node modules.
It's something that's built internally with Nux and this is really good.
This was actually done on purpose because a lot of the time when you create a brand new application,
you have to do a lot of deletion just to remove all of the different boilerplate.
Now Nux understands this and because of that it just has this very boilerplate component built in to
Nux itself.
And as soon as we want to remove it, all we have to do is just remove the component itself and we do
not have to do anything over here.
So let's just go ahead and save that.
And if you go back, you can see now we have nothing.
It is completely empty.
Now, if we go ahead and let's go ahead and just pieces a few times just to prove to you we should see
this three different times.
So right over here, the apt of you is the file that we're going to be working on to build our baby
generator application later on.
When we work on multiple pages, we'll learn a better way to create multiple view files for multiple
different pages.
But for now, this is what we are going to be working on.
The App Dot View.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.