词汇:I
pron. 我
相关场景
- G:
- I'm really glad to meet you here. Thank you for coming to the airport to meet me.>> Meeting the Guests at the Airport
- T:
- My name is Lily. I'm from China International Travel Agency. Our company has assigned me to be your host here in Wuhan.
我叫莉莉。我来自中国国际旅行社。我们公司派我来武汉做你的东道主。>> Meeting the Guests at the Airport- The Guest:
- Yes, that's right. I am White, You are ...>> Meeting the Guests at the Airport
- Please read the itinerary carefully. yes I will.>> Making preparations 1-11
- O.P. =operator:
- This is the group reception office. May I speak to the O.P. of my group?
这里是团体接待处。>> Making preparations 1-11- I was annoyed that they hadn't turned up.>> 59-In or Out?
- We're not gonna change that for this little example, but now let's check in that PWA files, and then let's deploy to production one more time. and as you can see, look in the top right corner, when I reload it, we now have that little install icon in Chrome. and if I click that little install icon, I'm gonna get this prompt, and boom! I have a PWA running in production for my Rails application.>> Rails 8.0.1 You are in good company
- And it's gonna refer to an icon, by default,we just have a nice red dot.but you should obviously replace that with your application. And if I hop in and have a look at the service worker, it is sort of already set up for doing we push,just as an example here, having some listeners, you can tweak that as you see fit.
它将指向一个图标,默认情况下,我们只有一个漂亮的红点。但你显然应该用你的应用程序替换它。如果我跳进去看看服务工作者,它已经为我们推送做了准备,就像这里的一个例子,有一些监听器,你可以根据需要进行调整。>> Rails 8.0.1 You are in good company- We'll turn those on and I'll show you the manifest first. The manifest is just really basic. It's gonna show the name of the PWA you're gonna using!>> Rails 8.0.1 You are in good company
- SO now, we're created that user in production using our Kamal consol! I can log in with that user/pasword.>> Rails 8.0.1 You are in good company
- Kamal console:
- Kamal also gives you a way to start a console on the server side that is just like the console I showed you earlier that ran in development! You can see here, it reminds you that you are in production.>> Rails 8.0.1 You are in good company
- Because we had not run our DB seeds! Now, I could run DB seed in production, but let me show you another way doing it .>> Rails 8.0.1 You are in good company
- As we edit a new dependency, we can hop back in ,reload, and now we're good to go here. as you can see, I first tried to put in a wrong password, we're gonna get this screen, try another email address or password.>> Rails 8.0.1 You are in good company
- Now, if we hop back onto local host, and we try to log in with first the wrong password. we're actually gonna see something here , when I added the authentication, it added another gem, it added bcrypt, that's what we're using to keep password secure, so we have to hop back in here and restart our development server!>> Rails 8.0.1 You are in good company
- So that's just gonna be my email address and 123 password!We hop back into our CLI, and run rails db:seed, that's gonna run that file , I just showed you and set things up.>> Rails 8.0.1 You are in good company
- By default, Kamal will use a docker volume to start these things up, but of course, you can configure that, and as I said, you can use S3 if you'd like as well.>> Rails 8.0.1 You are in good company
- There was a 404 here! That's because if we go back to out route file, I have not defined route! And in production, you're not gonna get that screen we saw with the Rails version and the Ruby version, that is only for development.>> Rails 8.0.1 You are in good company
- And as you can see here, I sped things up a little bit, but it was about 80 seconds on my linux machine from a cold boot to do that.>> Rails 8.0.1 You are in good company
- I'm pulling it out of ENV with my Kamal registry password that I've already set up on my personal bash. And then, the Rails master key that does the decoding of any credentials we've set for Rails, it's just using a cat straight out of config master key.>> Rails 8.0.1 You are in good company
- I've directed them to keep looking at the individual who rented the truck to explode, that exploded in Las Vegas, also served as active duty U.S. Army.
我已经指示他们继续关注租用卡车爆炸的人,那辆卡车在拉斯维加斯爆炸,也曾是美国现役陆军。>> 56-Faster Than Sound!- Warren had always used a phrase I really liked. He said, we make silk purses out of silk.>> we make silk purses out of silk
- Marrying somebody to change them is crazy, and I would say hiring somebody to change them is just as crazy. And becoming partners with them to change them is crazy.>> we make silk purses out of silk
- We tried it with the predictable results and life is so much more fun this way too. I mean, who wants to spend their life trying to change people from their natural...>> we make silk purses out of silk
- 21:28:
- So this server exists on this address, servers web: - demo.exitsoftware.io ; proxy: host: alpha.exitsoftware.io; And I will then fill out the host as a C name to that machine. But we're using Alpha here, if I had deployed another application called Bravo to the same server, Kamal would set it up, so it's like I host two applications or any number of applications on that same server! Now, we will also need to have a look at the secrets here, that is in dockyml/secrets, because the register that I'm using, that is Docker Hub, needs of course a password, it is using my username but also needs a password.>> Rails 8.0.1 You are in good company
- Now I'm gonna deploy this on my own little hoppy server. And that hoppy server is currently wiped. it is completely clean, and Ubuntu 24.04 setup that has nothing on it already, this is part of the magic of Kamal, you can spin up a new VM anywhere in the cloud or use your own hardware and point Kamal straight to it, and you'll be going in no time!>> Rails 8.0.1 You are in good company