All language subtitles for 003 Key Deployment Steps_Downloadly.ir_en

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian Download
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:02,605 --> 00:00:03,960 [Maximilian Schwarzmuller] So now that we know 2 00:00:03,960 --> 00:00:08,660 how we can build our site and what the implications are, 3 00:00:08,660 --> 00:00:09,860 let's take a look at 4 00:00:09,860 --> 00:00:12,900 general deployment steps and considerations, 5 00:00:12,900 --> 00:00:16,170 no matter how you will build your site. 6 00:00:16,170 --> 00:00:18,380 The first step should always be 7 00:00:18,380 --> 00:00:20,700 that you double-check all your pages, 8 00:00:20,700 --> 00:00:23,390 you make sure you added all the head metadata 9 00:00:23,390 --> 00:00:26,360 to all your pages, titles, descriptions, 10 00:00:26,360 --> 00:00:28,370 whatever else you might need. 11 00:00:28,370 --> 00:00:31,220 Of course, you wannna optimize your code, 12 00:00:31,220 --> 00:00:34,060 remove console log statements, 13 00:00:34,060 --> 00:00:37,520 shrink it as much as possible, things like that. 14 00:00:37,520 --> 00:00:40,330 And you wanna remove unnecessary dependencies 15 00:00:40,330 --> 00:00:44,540 and make your code as small and optimized as possible. 16 00:00:44,540 --> 00:00:46,990 So that is step number one. 17 00:00:46,990 --> 00:00:51,260 Now once you did that, there is another kind of related step 18 00:00:51,260 --> 00:00:54,250 which I still wanna list as a separate step. 19 00:00:54,250 --> 00:00:56,900 You wanna double-check your configuration, 20 00:00:56,900 --> 00:00:58,770 and you especially wanna consider 21 00:00:58,770 --> 00:01:01,130 working with environment variables 22 00:01:01,130 --> 00:01:05,040 for data that might not be the same during development 23 00:01:05,040 --> 00:01:06,730 and during production. 24 00:01:06,730 --> 00:01:09,100 For example, in our blog application 25 00:01:09,100 --> 00:01:12,610 we have an API route where I connect to a database, 26 00:01:12,610 --> 00:01:16,130 and, at the moment, the way I connect here 27 00:01:16,130 --> 00:01:17,550 is always the same. 28 00:01:17,550 --> 00:01:21,390 My connection string is hard-coded in the API route, 29 00:01:21,390 --> 00:01:23,640 so I always use the same user, 30 00:01:23,640 --> 00:01:26,810 the same cluster, the same database. 31 00:01:26,810 --> 00:01:29,957 It's more realistic that I want to use 32 00:01:29,957 --> 00:01:34,020 some development dummy database during development 33 00:01:34,020 --> 00:01:36,200 and switch to a different database 34 00:01:36,200 --> 00:01:40,030 and maybe also an entirely different cluster and user 35 00:01:40,030 --> 00:01:41,590 for production. 36 00:01:41,590 --> 00:01:44,530 And, therefore, we want to swap 37 00:01:44,530 --> 00:01:47,120 this connection string dynamically, 38 00:01:47,120 --> 00:01:49,960 depending on the environment in which we're running. 39 00:01:49,960 --> 00:01:53,560 And that is something where environment variables 40 00:01:53,560 --> 00:01:55,570 will be able to help us. 41 00:01:55,570 --> 00:01:58,240 Another use case could be API keys. 42 00:01:58,240 --> 00:02:02,060 If you're using the Google Maps SDK, for example. 43 00:02:02,060 --> 00:02:04,510 These are things which you might wanna manage 44 00:02:04,510 --> 00:02:06,540 with environment variables. 45 00:02:06,540 --> 00:02:09,050 And therefore, that is, of course, also something 46 00:02:09,050 --> 00:02:11,943 we're going to explore in this course section. 47 00:02:13,160 --> 00:02:16,800 Now once you did all of that, you should to do a test build 48 00:02:16,800 --> 00:02:21,800 and test your production-ready app on your local machine. 49 00:02:21,910 --> 00:02:25,120 Since you just need a node server for running it, 50 00:02:25,120 --> 00:02:28,230 and we already have Node.js installed, 51 00:02:28,230 --> 00:02:30,310 building and running the application 52 00:02:30,310 --> 00:02:32,370 is rather straightforward. 53 00:02:32,370 --> 00:02:35,740 And we should do that to make sure that everything works, 54 00:02:35,740 --> 00:02:37,950 that we're happy with the file sizes, 55 00:02:37,950 --> 00:02:40,850 with the code bundle sizes, and so on. 56 00:02:40,850 --> 00:02:43,250 Now that step, of course, can involve 57 00:02:43,250 --> 00:02:45,300 that you go back to step one 58 00:02:45,300 --> 00:02:47,723 and implement further optimizations. 59 00:02:48,610 --> 00:02:50,360 Now once you're happy with all of that, 60 00:02:50,360 --> 00:02:53,320 then it's time to finally deploy. 61 00:02:53,320 --> 00:02:58,190 That is roughly how the deployment process will look like. 62 00:02:58,190 --> 00:03:01,620 And that, therefore, is the process and the list 63 00:03:01,620 --> 00:03:04,593 we will go through over the next lectures. 4985

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.