官术网_书友最值得收藏!

Installing Meteor

Installing Meteor is as easy as running the following command in the terminal:

$ curl https://install.meteor.com/ | sh

That's it! This will install the Meteor command-line tool ($ meteor), the Meteor server, MongoDB database, and the Meteor core packages (libraries).

Note

All command-line examples are run and tested on Mac OS X and can differ on Linux or Windows systems.

Installing Git

To install Git, I recommend installing the GitHub app from https://mac.github.com or https://windows.github.com. We can then simply go inside the app to Preferences and click on the Install Command Line Tools button inside the Advanced tab.

If we want to install Git manually and set it up via the command line, we can download the Git installer from http://git-scm.com and follow this great guide at https://help.github.com/articles/set-up-git.

Now, we can check whether everything was installed successfully by opening the terminal and running the following command:

$ git

Tip

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

This should return us a list of Git options. If we get command not found: git, we need to check whether the git binary was correctly added to our PATH environment variable.

If everything is fine, we are ready to create our first Meteor app.

主站蜘蛛池模板: 漳平市| 雷波县| 临湘市| 济宁市| 镇远县| 砚山县| 兰州市| 梅州市| 靖边县| 萨迦县| 远安县| 仙居县| 蒙城县| 平定县| 祁连县| 婺源县| 林西县| 玉屏| 三台县| 榆树市| 芦山县| 长岛县| 石柱| 鹤山市| 普陀区| 景泰县| 封丘县| 武穴市| 饶阳县| 湖北省| 治多县| 安平县| 长阳| 温州市| 沈丘县| 伊通| 晋宁县| 藁城市| 静安区| 七台河市| 林州市|