From the course: Twilio Essentials Unit 3: All Together Now

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Deploying

Deploying

- We're getting a pretty solid application running, though it won't work if I close my laptop. What do you say we get this code deployed, on someone else's server? You're going to love this. Ready to deploy your application to the Cloud? Let's do this, twilio serverless:deploy. There we go. That's all you do. It's going, it's making a brand new dev environment. You'll see it's passing my environment variables up. It's got a service name. It's making a new service. Remember how we made that exploration service before? By default, it's made this dev environment, which you'll see in the URL here. And it's put any dependencies that I've put. So remember, this could be a node package, so I could actually upload the dependencies as well. So it would do that, awesome. And now it's built these different things. And this one is the incoming call and the incoming message. And this is protected and now it's properly protected.…

Contents