title
stringlengths
12
112
published
stringlengths
19
23
url
stringlengths
28
28
video_id
stringlengths
11
11
channel_id
stringclasses
5 values
id
stringlengths
16
31
text
stringlengths
0
596
start
float64
0
37.8k
end
float64
2.18
37.8k
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t187.6
That's really it.
187.6
193.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t188.4
There isn't nothing else particularly important in here.
188.4
194.72
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t193.20000000000002
It's just a Flask API.
193.2
200.24
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t195.84
So what I want to do is open a terminal window here.
195.84
204.4
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t201.04000000000002
Okay, so I'm assuming my base environment here.
201.04
208.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t204.4
And I've already installed the cloud SDK.
204.4
211.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t208.16
So that means I can use these G Cloud calls.
208.16
219.04
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t211.36
So I'm going to write G Cloud app create project.
211.36
222.8
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t219.04000000000002
And I need this to be equal to the project ID that I copied before.
219.04
229.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t223.44000000000003
So I have abstract, abstract ring 230710.
223.44
234.08
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t230.56
Okay, and this will just create an app inside the project
230.56
237.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t234.08
that we created in the console before.
234.08
240.96
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t237.36
So I'm going to enter.
237.36
248
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t241.76000000000002
And you also need to select your region that you are going to be using.
241.76
250.48
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t248.0
For me, I'm just Europe West.
248
252
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t250.48000000000002
So I'll put 11.
250.48
261.92
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t256.48
And that will create the App Engine app in that chosen project,
256.48
265.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t261.92
which is an abstract ring, which we called Flask API.
261.92
268.72
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t265.28
That's the actual, this is the ID of that project.
265.28
270.32
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t268.71999999999997
The actual name is Flask API.
268.72
275.04
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t271.84
So the app is now created.
271.84
278.88
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t275.03999999999996
Please use G Cloud app deploy to deploy your first app.
275.04
283.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t280.23999999999995
Now, before we actually do that,
280.24
288.64
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t283.28
we need to install the App Engine extension for Python.
283.28
290.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t288.64
Because we're on Python right now.
288.64
296.96
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t290.16
And by default, the Python version of that is not installed or included.
290.16
307.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t296.96000000000004
So we need to do G Cloud components install App Engine.
296.96
310.4
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t308.24
Sorry, I realize you probably can't see.
308.24
316.8
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t311.20000000000005
So G Cloud components install App Engine, Python.
311.2
321.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t316.8
Okay, that's it.
316.8
331.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t324.0
And we see, so in my case, I've already installed the App Engine Python in my G Cloud SDK.
324
334.8
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t331.6
So it's just saying, I already have it installed.
331.6
339.76
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t335.84000000000003
If you just install it, I'll say it will install for you.
335.84
343.92
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t339.76
So that's everything we need for deploying our app.
339.76
347.92
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t343.92
I think the last few things we need to include here.
343.92
351.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t347.92
So we have our actual script out, API script.
347.92
355.44
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t352.32
But we do need a few other things as well.
352.32
362
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t355.44
So before we actually try and deploy our API, we should just test that actually works.
355.44
368.56
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t362.56
So we can simulate the same environment that the App Engine will be running our API within
362.56
373.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t368.56
by using something called Goonicorn or Gunicorn maybe.
368.56
378.48
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t373.6
So to install that, we just pip install Goonicorn.
373.6
382.4
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t380.0
I already have it installed, so I'm not going to do it again.
380
388.96
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t383.04
And once you have installed that, you just need to write the Goonicorn.
383.04
392.88
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t389.52
And then you select a host port.
389.52
396
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t392.88
So I'm going to go with a 1000.
392.88
403.76
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t396.0
And then you need to write the name of your Python API file.
396
404.8
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t403.76
So mine is main.
403.76
409.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t406.0
And then you come down here, you can see that we have this app run.
406
411.44
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t409.84
So where did I define app?
409.84
412.56
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t411.44
Should be at the top here.
411.44
414.48
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t412.56
So app, which is the Flask app.
412.56
419.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t415.68
So after this colon here, we need to include that.
415.68
425.12
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t419.2
And that will initialize and run our API.
419.2
425.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t425.12
Okay.
425.12
431.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t426.88
Now you can see here, let's make this a little smaller.
426.88
436.64
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t433.59999999999997
You can see here that we have the actual location.
433.6
437.76
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t436.64
So let's open that.
436.64
443.68
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t439.03999999999996
And if we just open it on this first page, we will see that it just says not found.
439.04
445.92
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t443.68
Now this isn't actually a problem.
443.68
450.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t445.92
It's because we only have the two endpoints, users and locations.
445.92
455.84
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t450.16
So let's open that and you'll see that we get this JSON response, which is what we'd expect.
450.16
460.32
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t457.2
Now, the content of that is not important.
457.2
466.64
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t460.32
We just want to see that, okay, the API is actually running when we run it with Goonicorn.
460.32
467.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t466.64
So that's good.
466.64
470.72
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t467.6
So let's switch back over to VS Code.
467.6
471.12
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t470.72
Okay.
470.72
472.96
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t471.12
We'll stop that from running.
471.12
481.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t472.96
And that means that the core of the API will run in the cloud App Engine environment.
472.96
483.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t481.84
So it's good.
481.84
488.16
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t484.47999999999996
The only thing is, okay, we have our Python environment here.
484.48
491.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t488.96
So I'm using Python 3.8 down here.
488.96
496.88
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t492.47999999999996
And up here, I have a few modules I've imported as well.
492.48
499.52
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t496.88
So Flask, Flask RESTful, Pandas.
496.88
503.76
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t499.52
How is the App Engine going to know that we're using this environment?
499.52
505.12
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t504.56
It doesn't.
504.56
511.76
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t505.12
We need to tell the App Engine what our environment looks like and what environment it should set up.
505.12
515.04
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t512.3199999999999
So to do that, we need to use two files.
512.32
519.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t515.84
So we'll come over here and then create a new file.
515.84
523.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t520.8
And I'm going to call it app.yaml.
520.8
530.48
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t523.36
And inside here, we just want to set our runtime.
523.36
533.92
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t530.48
So the runtime is just going to be Python 3.8.
530.48
535.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t535.04
That's it.
535.04
539.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t535.6
Nothing else is needed there.
535.6
541.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t539.28
Now I'm going to create another new file.
539.28
545.6
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t543.36
And I'm going to call it requirements.txt.
543.36
548.96
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t546.5600000000001
And in here, we're going to call it run time.
546.56
557.12
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t548.96
And I'm going to call it requirements.txt and in here, I need to write which modules are using
548.96
557.84
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t557.12
which packages.
557.12
560.48
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t559.0400000000001
Ours is pretty simple.
559.04
566.24
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t561.0400000000001
So Flask, Flask RESTful, and we also have Pandas.
561.04
568.8
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t567.6
Now save that.
567.6
574.24
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t569.6
And beyond that, there isn't anything else.
569.6
577.28
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t574.24
So we can switch back over to the terminal window.
574.24
582.48
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t577.28
And we can now do the gcloud deploy.
577.28
586.88
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t583.1999999999999
So write gcloud app deploy.
583.2
593.2
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t588.3199999999999
And you see also just within the API folder.
588.32
598.08
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t593.76
So this is the folder that ordered directory that contains all of these files here.
593.76
600.08
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t599.52
Deploy.
599.52
603.36
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t602.0799999999999
This will take a moment.
602.08
606.08
API Series #3 - How to Deploy Flask APIs to the Cloud (GCP)
2021-11-02 14:30:00 UTC
https://youtu.be/3fsIcMgUOY8
3fsIcMgUOY8
UCv83tO5cePwHMt1952IVVHw
3fsIcMgUOY8-t603.36
I'm going to tell it where I want to deploy.
603.36
610.64