NOTE
This file was generated by Descript <www.descript.com>
1

00:00:00,200  -->  00:00:01,520
Hi guys, and welcome back.

2

00:00:01,550  -->  00:00:04,160
In this video, I just want to
show you what the end result

3

00:00:04,160  -->  00:00:05,789
is going to be of this section.

4

00:00:06,140  -->  00:00:10,850
We've now learned what Heroku is so
when we deploy our app to Heroku, what

5

00:00:10,850  -->  00:00:16,470
we get is a publicly accessible URL
that runs in Heroku's servers that

6

00:00:16,470  -->  00:00:19,430
we can access from anywhere as long
as we have an internet connection.

7

00:00:19,820  -->  00:00:25,095
So you can see here I'm no longer
using 127.0.0.1:5000, which is what

8

00:00:25,095  -->  00:00:28,035
we were doing when we were running
the app locally in our computer.

9

00:00:28,305  -->  00:00:31,545
Instead we're accessing a
URL given to us by Heroku.

10

00:00:31,635  -->  00:00:36,445
In my case, it's python dash web
dash microblog dot herokuapp.com.

11

00:00:37,035  -->  00:00:40,035
We can give this URL to our
users and as soon as they run

12

00:00:40,035  -->  00:00:42,000
it, they'll access our website.

13

00:00:42,540  -->  00:00:46,530
Remember that our site is connected
to MongoDB in a separate server.

14

00:00:46,710  -->  00:00:51,870
So all the users that access this URL
will be accessing the same database.

15

00:00:51,870  -->  00:00:53,770
So they will all see the same posts.

16

00:00:54,210  -->  00:00:57,720
This is probably not something we want to
do but later on in this course, we will

17

00:00:57,720  -->  00:01:02,190
learn how to have different users in our
application accessing each their own data.

18

00:01:02,370  -->  00:01:04,739
But for now they would
all see the same data.

19

00:01:06,050  -->  00:01:09,110
Deploying this online though, lets
you access the page whenever you

20

00:01:09,110  -->  00:01:11,300
want, wherever you are, online.

21

00:01:11,690  -->  00:01:12,410
Just be careful.

22

00:01:12,410  -->  00:01:14,509
And don't share this with
anybody unless you want them to

23

00:01:14,509  -->  00:01:16,250
be able to access your journal.

24

00:01:16,746  -->  00:01:17,016
All right.

25

00:01:17,016  -->  00:01:18,006
That's everything for this video.

26

00:01:18,006  -->  00:01:20,976
I just wanted to show you
that this will work online.

27

00:01:20,976  -->  00:01:23,976
We're now ready to get
started deploying to Heroku.

28

00:01:24,366  -->  00:01:25,566
I'll see you in the next one.
