- Overview
- Transcript
5.10 Deploy the Application
When our application is complete, we are ready to deploy it. Meteor makes it easy to deploy an application to its test server.
1.Getting Started3 lessons, 11:39
1.1Introduction00:39
1.2Application Demo05:23
1.3Application Setup05:37
2.First Steps4 lessons, 19:19
2.1Organizing Your Code05:44
2.2Set Up a Router07:24
2.3Add User Accounts03:39
2.4Collections02:32
3.The User List Page3 lessons, 23:41
3.1List Users12:38
3.2Making Friends04:57
3.3Write a First Meteor Method06:06
4.The Game List Page4 lessons, 39:05
4.1Waiting for Data08:15
4.2New Game Form08:35
4.3New Game Method09:42
4.4List the Games12:33
5.The Game Page10 lessons, 1:28:25
5.1Get the Game Data04:53
5.2Display the Game: Prep Work11:40
5.3Display the Game12:00
5.4Style the Chess Board02:50
5.5Making Moves: The Event Handler16:54
5.6Making Moves: The Meteor Method10:00
5.7Listing the Moves06:48
5.8Chat Between Users11:56
5.9Reviewing the Game09:29
5.10Deploy the Application01:55
6.Conclusion1 lesson, 00:44
6.1Conclusion00:44
5.10 Deploy the Application
Now that we've completed our Meteor application, we can go ahead and deploy it. Now Meteor offers several different methods of deployment, including a very robust service that you can pay for. But if you just want to throw a prototype app up there and see if it's working correctly, let some of your friends play around with it, you can use Meteor's little deployment service. And it's super easy to do this. We can just say, meteor deploy, and after that, we give it a subdomain. So, in our case, I'm gonna call it chessgame, and we'll see if chessgame is taken, but I don't think it is. Now if this is the first time you're doing meteor deploy, you'll be asked to sign into a Meteor account, which just keeps track of the applications that you have published to Meteor. As you can see, it looks like chessgame was not taken, so we are deploying to chessgame.meteor.com. This is going to be the URL for our application. It'll take a couple of minutes for the application to be built and uploaded, but when you're done, you'll have a published web application. And you can see that we are now serving our application at chessgame.meteor.com. So if I head over to that URL, you can see we have our application. Let's go ahead and create an account, and if we go to find friends, we can see we don't have anyone else in the list. So let's go ahead and open up a second user. And let's create an account for them. We can go find a friend. And let's head over to play chess. Create a new game with them. I go to play games here. Notice that we do get our waiting sign, which is great, because of course now instead of just getting it from a local database, we're waiting for data from a server somewhere else. Okay, so I can go ahead and accept my game here. And let's go ahead and play a few moves. Let's see, it looks like we can successfully make some moves here. Okay, we can also do some chatting. And really, that looks like our application is complete. So we have successfully built an entire Meteor application and deployed it. Good job.