Friday, June 15, 2012

Step 1 : Installing Meteor

Depending, what OS you are using installing meteor is generally easy to do.

Starting with Linux and OSX:

First make a dir where you want to store your projects, then navigate to it.
Install meteor with following command:
$ curl install.meteor.com | /bin/sh
Create project:
 $ meteor create myapp
And, here comes the best part. Meteor runs fro your OS itself.
    Go to your project dir

$ cd myapp
   Run meteor:
$ meteor
   You should see this line in your terminal:
Running on: http://localhost:3000/

Now just open your browser and visit localhost on port 3000

Basic  app just show in console.log info after clicking  the button.If you want more interesting app built in meteor instead of
$ meteor create myapp
  just use:
$ meteor create --example leaderboard (or) wordplay (or) todos  (YourAppName)

Because Installing Meteor on Windows gives few problem at the moment, i will cover it later, but in few days i think there will be .msi installer released.

Have fun with your newly created apps and let the code be with you :)

No comments:

Post a Comment