WEBVTT
Kind: captions
Language: en

00:00:00.000 --> 00:00:03.360
In this section of the course we're
going to be creating a local development

00:00:03.360 --> 00:00:09.690
server that we can use to run and test
our API as we build it we're going to be

00:00:09.690 --> 00:00:14.519
creating a development server using a
tool called vagrant vagrant allows you

00:00:14.519 --> 00:00:19.350
to define the type of server you need
for the project as a vagrant file and

00:00:19.350 --> 00:00:26.099
store this file with the source code of
our project you can create a new vagrant

00:00:26.099 --> 00:00:30.720
file by using the vagrant CLI tool so
let's go ahead and do that for our

00:00:30.720 --> 00:00:37.710
project you use the CLI tool by loading
up the terminal or if you're on Windows the

00:00:37.710 --> 00:00:44.760
git bash and typing vagrant init and
then the type of server that you want to

00:00:44.760 --> 00:00:52.199
create so we want to use ubuntu forward
slash bionic 64 what this does is it

00:00:52.199 --> 00:00:56.430
initializes our project with a new
vagrant file and it bases it on the

00:00:56.430 --> 00:01:03.120
ubuntu bionics 64 base image these
images are publicly available in the

00:01:03.120 --> 00:01:10.320
vagrant catalog box box catalog if you
hit enter then what this will do is it

00:01:10.320 --> 00:01:14.880
will go ahead and create a new file in
our project so let's open up our project

00:01:14.880 --> 00:01:19.320
in atom and inspect this newly created
file you can see that most of it has been

00:01:19.320 --> 00:01:23.820
commented out and it's just a template
for a server that we can use to run our

00:01:23.820 --> 00:01:29.610
project so all this will do if you ran
this now would be create a basic vanilla

00:01:29.610 --> 00:01:36.210
ubuntu image or server based on the
standard ubuntu image so it doesn't

00:01:36.210 --> 00:01:41.189
make any modifications to it or forward
any ports or anything like that so we're

00:01:41.189 --> 00:01:45.360
going to be modifying this in the next
video but that's how you create a simple

00:01:45.360 --> 00:01:49.250
vagrant file for your project

