Nova Accounts and Licensing 0:00Let's get started with Laravel Nova by installing it into our own Laravel application. To access Nova, you have to go to the official website which is at nova.laravel.com and register on this website and create a free account. So I already have an account created. And once you do, you have to purchase a license. So when you do that, you can choose between a solo license, which is currently at 99 per site, or a pro license, which is at 199 per site. The two pricings have no difference in the features of Nova itself. The solo license is targeted at solo developers, so developers that work alone. And the pro license is targeted at more teams and also at projects that generate more thanThe solo license is targeted at solo developers, so developers that work alone. And the pro license is targeted at more teams and also at projects that generate more than $20,000 of revenue per year. And you get email support with the pro license. But all the Nova features are the same. So once you bought the license, which I already did, you can go to the releases page and you can download the latest version of Nova here. So now we need to add Nova to our Laravel application. Unlike Spark, Nova is not a complete Laravel application that you need to use as a starting point, but it's just a regular Laravel package as you might have used it already a couple Creating a New App 1:25Unlike Spark, Nova is not a complete Laravel application that you need to use as a starting point, but it's just a regular Laravel package as you might have used it already a couple times. So you can just use it inside of your existing Laravel application, as well as create a new one and use it there as well. So for this demo, I'm going to use a completely new Laravel application. So let's spin that up first. So I'm going to use the laravel new laracasts nova command, which will give me a new Laravel application. Okay, now it's time to install Nova. Adding Nova Package 2:04application. Okay, now it's time to install Nova. So if I go to my downloads page, you can just unzip the zip file that you downloaded. I'll rename it to Nova. And then move this folder into my completely new Laravel project. So now we got that here. Let's open the project and install it. All right. So the first thing you should do is add the Nova directory to your gitignore. This way, you don't accidentally share the Nova source files on GitHub, since this would Configuring Composer Repositories 2:40So the first thing you should do is add the Nova directory to your gitignore. This way, you don't accidentally share the Nova source files on GitHub, since this would violate the Nova license agreement. All right. Now we have this folder in our project, but we still need to tell Composer that it exists. So to do this, let's open our Composer JSON file. And let's add a new parameter called repositories. This is an array. And here we say that we have a new repository, which is from the type path. And the URL or the path is the current directory, Nova.And here we say that we have a new repository, which is from the type path. And the URL or the path is the current directory, Nova. And then we still need to require the Nova dependency. So up here, I'm just going to use Laravel Nova and use a star as the version dependency. So since we are not loading the Laravel Nova dependency from packages, we just tell it to look up the Laravel Nova dependency in this Nova folder. All right. So now run Composer update. And as you can see, it now zoom links the Laravel Nova package from my local Nova directory. So the next thing we need to do is we have to actually install Nova, so the Nova package Running Install and Migrations 4:13And as you can see, it now zoom links the Laravel Nova package from my local Nova directory. So the next thing we need to do is we have to actually install Nova, so the Nova package into our application. And we can do this using the Nova install artisan command. All right, that's it. Now we got the service provider, the resources, and the assets published. And the next thing we need to do is run the migrations. So before we do that, I still have to modify my environment variables. So I created a new database called LaraCasts. And we should be good to go.So I created a new database called LaraCasts. And we should be good to go. So PHP artisan migrate. And now we have all our Laravel and Nova migrations created. So let's try it out by visiting LaraCasts-nova.test. So this is the basic Laravel view that we get. And let's visit the Nova route. And here we can log in. Now, we still don't have a username and password to access Nova. So let's create one. Creating a Nova User 5:29Now, we still don't have a username and password to access Nova. So let's create one. The easiest way is to use the artisan command that ships with Nova. So we can say php artisan nova colon user. Then give it a username. So I'm going to use Marcel. My email address or the username will be Marcel at beyond code. And the password will just be test. OK, user created. So let's try and log in with these credentials.OK, user created. So let's try and log in with these credentials. Test, log in. And that's it. So now we have successfully installed Nova into our new Laravel application. Let's dive into how we can use resources and manage them in the next video.