WEBVTT

1
00:00:01.291 --> 00:00:06.244
A store server is a small computer in your store. It keeps the tills working even

2
00:00:06.244 --> 00:00:11.319
when the internet is down. In this episode we add one, approve it, and move a store

3
00:00:11.319 --> 00:00:11.808
onto it.

4
00:00:13.531 --> 00:00:18.213
We are on the business page. Scroll down to the Store servers card. It is empty.

5
00:00:19.959 --> 00:00:25.146
Give the new server a name that tells you where it sits. We will call it Back room.

6
00:00:25.146 --> 00:00:26.083
Then press Add.

7
00:00:27.189 --> 00:00:31.640
The card now says waiting for the server. It shows a one-time code, and the command

8
00:00:31.640 --> 00:00:35.287
to run on the store server. The code works once, so keep it private.

9
00:00:37.296 --> 00:00:41.795
Whoever sets up the server runs that command on it. The server then prints a

10
00:00:41.795 --> 00:00:45.761
fingerprint of its key. Here it is, along the bottom of the screen.

11
00:00:46.991 --> 00:00:51.546
The console notices by itself that the server has called in. You do not need to

12
00:00:51.546 --> 00:00:54.313
refresh. It asks you to confirm the fingerprint.

13
00:00:55.806 --> 00:01:00.341
Compare it with what the server printed. This is how you know the server is really

14
00:01:00.341 --> 00:01:03.604
yours. Type the fingerprint into the box and press Approve.

15
00:01:04.847 --> 00:01:09.848
The server finishes enrolling and starts up. The card now shows Back room as active.

16
00:01:09.848 --> 00:01:13.003
Revoke is there if you ever need to cut a server off.

17
00:01:14.293 --> 00:01:19.350
Now the store. The Stores and their servers card lists Main Street, served by the

18
00:01:19.350 --> 00:01:24.469
cloud. Its Move store to server button works now that there is a server to move it

19
00:01:24.469 --> 00:01:24.656
to.

20
00:01:24.806 --> 00:01:29.901
Press it. A dialog asks which server should take Main Street. Pick Back room, then

21
00:01:29.901 --> 00:01:30.212
Move.

22
00:01:32.033 --> 00:01:36.987
The store keeps trading while its data is copied to the server. We refresh the card

23
00:01:36.987 --> 00:01:38.777
every few seconds to watch it.

24
00:01:46.708 --> 00:01:51.141
When the copy is done, the card says Back room is ready, and offers a Switch now

25
00:01:51.141 --> 00:01:54.299
button. Nothing changes for the tills until you press it.

26
00:01:55.781 --> 00:02:01.425
Press Switch now. A dialog explains what happens: the tills move over at their next

27
00:02:01.425 --> 00:02:07.002
sync, and the cloud uploads what it still has, then stops serving the store. Press

28
00:02:07.002 --> 00:02:08.906
Switch now again to confirm.

29
00:02:09.056 --> 00:02:14.686
The card says Back room is taking over. Wait a moment, and refresh. When it is done,

30
00:02:14.686 --> 00:02:17.166
Main Street says served by Back room.

31
00:02:23.717 --> 00:02:28.287
The store now trades on the store server. If you ever want it back, Move store to

32
00:02:28.287 --> 00:02:30.375
the cloud is right there on the card.

33
00:02:31.396 --> 00:02:36.945
Next episode: connecting Stripe for card payments, and serving your business on your

34
00:02:36.945 --> 00:02:37.671
own domain.
