Meteor now officially works on Windows and you can feel the taste of Meteor right on your PC. This is a guide made for Windows developers to get started with Meteor.
Installing Meteor is pretty simple. Download it from the Meteor website and install it on your PC.
Meteor does not need any kind of server like Apache to run these apps. Meteor app itself is the server. So, you don’t need any other dependency.
After you’ve installed Meteor, you can start playing with Meteor. But, before we start that, I need to make sure we are on the same page.
Meteor run as a command prompt app. So, we need to have some basic knowledge on using the command prompt. But don’t worry, you don’t need master it. You just need to know few simple commands.
If you are quite familiar with the Windows command prompt, feel free to skip this section.
Command prompt is an alternative way to interact with your Operating System. It’s a text based interface, sometimes it’s very powerful. First of all we need to open a Windows command prompt. Here’s how to do that:
With that we can browser through our file system and invoke commands. In this lesson, we’ll only look at the basic file system navigations. That’s only you need to know about to get started with Meteor.
Here are the essential file system navigation commands:
dir- List all the files and directories in the current location.
cd <my-folder-name>- Enter into the
my-folder-name. This can be a relative path like “my-folder” or a full path like “C:\Users\Administrator\myapps\abc”
cd ..- Go backwards
cd ..\..- Go backwards two times. You can go bank as many steps as you need with this pattern.
E:- Simply change into a different hard drive or a partition. (Change ‘E’ with your actual drive letter)
mkdir <my-new-folder>- Create a new folder.
Watch the following video to watch how to use above commands:
There are better terminals (and terminal emulators) than the Command Prompt. So, let me list few of them:
These days, we’ve quite powerful text editors with lot of cool features. You can use any of them. Here are few of such:
Now, we can start learning Meteor!
There are many resources available online to learn Meteor. So, let me show you some of them.
You can also check this guide to see most of the other resources.
Let’s say now you’ve a pretty good Meteor app. Now you need to deploy it. Here are some solutions to do that.
This is the easiest way to deploy your Meteor app. Simply type
meteor deploy <sub-domain-name> to deploy your app into the Meteor’s public cloud. Meteor Deploy is just for testing purpose and you should not run any production apps with it.
Meteor Up is a way to deploy a meteor app into Ubuntu servers. Once you configure it, it’s just like Meteor Deploy.
To use Meteor Up, first you need to install NodeJS into your PC. And then, type following command in the command prompt to install Meteor Up.
npm install -g mup
Then you’ll have a command called
mup inside the command prompt and you can use that to deploy your app. Follow the Meteor Up documentation to how to setup it.
Trust me. Meteor Up is pretty easy to use and trusted by thousands of developers. It’s one of the best ways to deploy a production meteor app.
If you are looking for a cloud hosting service, Modulus is a service which has built in Meteor support. To learn more about Modulus, visit their website.
Galaxy is the Meteor’s production ready hosting solution. Meteor team is working very hard for that and it’ll be available for us soon.
Try to use Kadira, it’s a performance monitoring service for Meteor. You can track down a lot of issues in your app before they make a trouble. Also, it’s a good idea to see what’s happening inside the app. Kadira make it super easy and fun.
Finally, don’t forget to check crater.io for latest Meteor news.