Book Image

Meteor Cookbook

By : Isaac Strack
Book Image

Meteor Cookbook

By: Isaac Strack

Overview of this book

Table of Contents (19 chapters)
Meteor Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Finding documentation for Meteor


Meteor has finally reached version 1.0, and as such, it's various libraries and features are beginning to stabilize. However, there are still some parts of Meteor that are in flux. It is therefore important to have the latest documentation handy. This recipe will show you where you can find the official Meteor documentation when you need it.

How to do it…

Simply navigate to http://docs.meteor.com/ in a browser and bookmark the page.

How it works…

That's all there is to it. The Meteor folks keep the documentation up to date, and you can be sure to find all production-ready features, along with a lot of great advice, at that location.

There's more…

If you would like to have an offline copy of the documentation and still make sure you have the latest and greatest version of documentation, you can use Meteor's GitHub repository to serve up a local copy of the latest documentation.

To get the initial copy of the documentation, navigate to where you would like to store the documentation (for example, your Documents directory) and clone the latest Meteor repository with the following command:

$ git clone git://github.com/meteor/meteor.git

If you've already done this, and would like to make sure you have the latest and greatest, navigate to the meteor subfolder (created when you did the initial Git clone) and run the following command:

$ git pull origin master

This will update the Meteor repository with the latest and greatest.

Once you've got the latest documentation, you can access it via a web browser by navigating to the docs directory:

$ cd docs/

Then, run the meteor command:

$ meteor

Once the packages are updated, the Meteor documentation project will start and you will see the following in the command line:

=> Meteor server running on: http://localhost:3000/

You can now use a browser to navigate to http://localhost:3000/ and read the latest documentation.