@@ -242,14 +242,9 @@ Here are the steps to install and set up Git on your machine: |
242 | 242 | version might vary; in our case it's 1.8.3.2, as shown in Figure |
243 | 243 | 2-9): |
244 | 244 |
|
245 | | - `git version 1.8.3.2` |
| 245 | + `git version 2.14.3 (Apple Git-98)` |
246 | 246 |
|
247 | 247 |
|
248 | | -  |
249 | | - |
250 | | - |
251 | | - ***Figure 2-9.** Configuring and testing Git installation* |
252 | | - |
253 | 248 | Generating SSH keys and uploading them to SaaS/PaaS web sites will be |
254 | 249 | covered later. |
255 | 250 |
|
@@ -291,12 +286,6 @@ to change configurations and host file settings. |
291 | 286 | (<http://www.apachefriends.org/en/xampp.html>): Apache distribution |
292 | 287 | containing MySQL, PHP and Perl for Windows, Mac, Linux, and Solaris. |
293 | 288 |
|
294 | | -The MAMP for Mac home page is shown in Figure 2-10. |
295 | | - |
296 | | - |
297 | | - |
298 | | -***Figure 2-10.** MAMP for Mac home page.* |
299 | | - |
300 | 289 | Database: MongoDB |
301 | 290 | ----------------- |
302 | 291 |
|
@@ -339,13 +328,7 @@ example using Brew, as well as on other systems (<http://docs.mongodb.org/manual |
339 | 328 | 2-11): |
340 | 329 |
|
341 | 330 | `$ sudo mkdir -p /data/db` |
342 | | - `$ sudo chown `id -u` /data/db` |
343 | | - |
344 | | -  |
345 | | - |
346 | | - ***Figure 2-11**. Initial setup for MongoDB: Create the data directory* |
347 | | - |
348 | | - |
| 331 | + `$ sudo chown id -u /data/db` |
349 | 332 |
|
350 | 333 | If you prefer to use a path other than /data/db you could specify it |
351 | 334 | using the --dbpath option to mongod (the main MongoDB service). |
@@ -356,7 +339,7 @@ example using Brew, as well as on other systems (<http://docs.mongodb.org/manual |
356 | 339 |
|
357 | 340 | `$ ./bin/mongod` |
358 | 341 |
|
359 | | -6. If you see something like the following (and as in Figure 2-12) it |
| 342 | +6. If you see something like the following (and as in Figure 2-9) it |
360 | 343 | means that the MongoDB database server is running: |
361 | 344 |
|
362 | 345 | `MongoDB starting: pid =7218 port=27017...` |
@@ -372,7 +355,7 @@ example using Brew, as well as on other systems (<http://docs.mongodb.org/manual |
372 | 355 |
|
373 | 356 |  |
374 | 357 |
|
375 | | - ***Figure 2-12.** Starting up the MongoDB server* |
| 358 | + ***Figure 2-9.** Starting up the MongoDB server* |
376 | 359 |
|
377 | 360 |
|
378 | 361 | Now, to take it even further, we can test to determine if we have access |
@@ -393,12 +376,12 @@ example using Brew, as well as on other systems (<http://docs.mongodb.org/manual |
393 | 376 | `> db.test.find()` |
394 | 377 |
|
395 | 378 | If you see that your record is being saved, then everything went well |
396 | | - (Figure 2-13). |
| 379 | + (Figure 2-10). |
397 | 380 |
|
398 | 381 |
|
399 | 382 |  |
400 | 383 |
|
401 | | -***Figure 2-13.** Running MongoDB client and storing sample data* |
| 384 | +***Figure 2-10.** Running MongoDB client and storing sample data* |
402 | 385 |
|
403 | 386 | Commands `find` and `save` do exactly what you might think they do. |
404 | 387 |
|
@@ -458,11 +441,11 @@ solutions for that: |
458 | 441 |
|
459 | 442 | The Node.js package already includes [Node Package |
460 | 443 | Manager](https://npmjs.org) (https://npmjs.org) (NPM). We'll use NPM |
461 | | -extensively to install Node.js modules. |
| 444 | +extensively to install Node.js modules—Figure 2-11. |
462 | 445 |
|
463 | 446 |  |
464 | 447 |
|
465 | | -***Figure 2-14**. Node.js home page* |
| 448 | +***Figure 2-11**. Node.js home page* |
466 | 449 |
|
467 | 450 | ### Browser JavaScript Libraries |
468 | 451 |
|
@@ -502,12 +485,7 @@ without the Internet. |
502 | 485 |
|
503 | 486 | The LESS App is a Mac OS X application for "on-the-fly" compilation of |
504 | 487 | LESS to CSS. It's available at |
505 | | -[incident57.com/less](http://incident57.com/less/) (Figure 2-15). |
506 | | - |
507 | | - |
508 | | - |
509 | | - |
510 | | -***Figure 2-15**. LESS App for Mac home page* |
| 488 | +[incident57.com/less](http://incident57.com/less). |
511 | 489 |
|
512 | 490 | Cloud Setup |
513 | 491 | =========== |
@@ -547,13 +525,13 @@ following: |
547 | 525 |
|
548 | 526 | 4. Answer the questions; it is better to keep the default name |
549 | 527 | of id_rsa. Then copy the content of the id_rsa.pub file to your |
550 | | - clipboard (Figure 2-16): |
| 528 | + clipboard (Figure 2-12): |
551 | 529 |
|
552 | 530 | $ pbcopy < ~/.ssh/id_rsa.pub |
553 | 531 |
|
554 | 532 |  |
555 | 533 |
|
556 | | - ***Figure 2-16.** Generating RSA key for SSH and copying public key to clipboard* |
| 534 | + ***Figure 2-12.** Generating RSA key for SSH and copying public key to clipboard* |
557 | 535 |
|
558 | 536 | 5. Alternatively, open id_rsa.pub file in the default editor: |
559 | 537 |
|
@@ -590,11 +568,11 @@ GitHub |
590 | 568 | 3. The first time you connect to GitHub, you can receive an |
591 | 569 | Authenticity of Host … Can't Be Established warning. Please don't be |
592 | 570 | confused with such a message—just proceed by answering Yes as shown |
593 | | - in Figure 2-17. |
| 571 | + in Figure 2-13. |
594 | 572 |
|
595 | 573 |  |
596 | 574 |
|
597 | | -***Figure 2-17.** Testing SSH connection to GitHub for the very first |
| 575 | +***Figure 2-13.** Testing SSH connection to GitHub for the very first |
598 | 576 | time* |
599 | 577 |
|
600 | 578 | If for some reason you have a different message, please repeat Steps 3 |
@@ -634,11 +612,11 @@ Here are the steps to set up a Windows Azure account: |
634 | 612 | `Windows Azure: Microsoft's Cloud Platform... Tool Version 0.6.0` |
635 | 613 |
|
636 | 614 | 5. Log in to Windows Azure Portal at <https://windows.azure.com> |
637 | | - (Figure 2-18). |
| 615 | + (Figure 2-14). |
638 | 616 |
|
639 | 617 |  |
640 | 618 |
|
641 | | - ***Figure 2-18.** Registering on Windows Azure* |
| 619 | + ***Figure 2-14.** Registering on Windows Azure* |
642 | 620 |
|
643 | 621 | 6. Select New, then select Web Site, and Quick Create. Type the name |
644 | 622 | that will serve as the URL for your web site, and click OK. |
@@ -691,11 +669,11 @@ To set up Heroku, follow these steps: |
691 | 669 |
|
692 | 670 | It will ask you for Heroku credentials (user name and password), and if |
693 | 671 | you've already created the SSH key, it will automatically upload it to |
694 | | - the Heroku web site (Figure 2-19). |
| 672 | + the Heroku web site (Figure 2-15). |
695 | 673 |
|
696 | 674 |  |
697 | 675 |
|
698 | | - ***Figure 2-19.** The response to the successful $ heroku login command* |
| 676 | + ***Figure 2-15.** The response to the successful $ heroku login command* |
699 | 677 |
|
700 | 678 | 4. If everything went well, to create a Heroku application inside of |
701 | 679 | your specific project folder, you should be able to run this |
|