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

Environment assumptions and requirements

For the remainder of this book, I will assume that you are using either a Mac with OS X, Linux, or Windows 7 or 8. You will also need superuser and/or administrator privileges on the computer, as you will be installing the Node and MongoDB server software. The code and examples after this chapter will all be OS agnostic and should work in any environment, assuming you have taken the steps I outline here so that you are prepared ahead of time.

You will need a good text editor to write and edit the code. Any editor of your liking will do. Personally, I am a huge fan of Sublime Text 3 (http://sublimetext.com). It is a simple, lightweight editor that has great color-coding syntax support. However, its true power comes from the unlimited plugins made available by other developers. There is literally a plugin for everything in Sublime! VI and Notepad are also good options if you want to stay super lightweight.

Finally, you're going to need access to the command line. Linux and Mac have access to the command line via the Terminal program. A great alternative on Mac is iTerm2 (great alternative to the terminal program on Windows is ConEmu (introduction to ConEmu, PowerShell, and the command line in general for Windows users can be found at http://www.hanselman.com/blog/ConEmuTheWindowsTerminalConsolePromptWeveBeenWaitingFor.aspx.

For the remainder of this book, any time I reference a command line or prompt, it will look like the following:

$ command -parameters –etc
Output from above command will typically appear as the following lines.

Note

With the command line, actual commands will always begin with $ to denote that this is the prompt. Lines that follow and do not begin with $ will denote output from the previous command.

主站蜘蛛池模板: 金华市| 剑河县| 吉木乃县| 密云县| 芒康县| 雷州市| 大埔区| 广昌县| 盈江县| 南皮县| 徐汇区| 黑山县| 金阳县| 噶尔县| 秦皇岛市| 黄陵县| 包头市| 将乐县| 芦溪县| 汝南县| 梁河县| 息烽县| 思茅市| 科尔| 陈巴尔虎旗| 二手房| 鄂尔多斯市| 什邡市| 门源| 彰武县| 遂溪县| 株洲县| 广元市| 定远县| 长阳| 子洲县| 二连浩特市| 正安县| 白玉县| 上林县| 吴旗县|