@@ -372,110 +372,71 @@ Microsoft Azure |
372 | 372 |
|
373 | 373 | Here are the steps to set up a Microsoft Azure account: |
374 | 374 |
|
375 | | -1. You'll need to sign up for Microsoft Azure Web Site and Virtual |
376 | | - Machine previews. Currently they have a 90-day free trial available |
377 | | - at <https://azure.microsoft.com/en-us>. |
| 375 | +1. You'll need to sign up for Microsoft Azure Web Site and Virtual Machine previews. Currently Microsoft has a 90-day free trial available at <https://azure.microsoft.com/en-us>. |
378 | 376 |
|
379 | | -2. Enable Git Deployment and create a user name and password, then |
380 | | - upload the SSH public key to Microsoft Azure. |
| 377 | +2. Enable Git Deployment and create a user name and password, then upload the SSH public key to Microsoft Azure. |
381 | 378 |
|
382 | | -3. Install the Node.js SDK, which is available at |
383 | | - <https://azure.microsoft.com/en-us/develop/nodejs>. |
| 379 | +3. Install the Node.js SDK, which is available at <https://azure.microsoft.com/en-us/develop/nodejs>. TK |
384 | 380 |
|
385 | 381 | 4. To check your installation type: |
386 | 382 |
|
387 | 383 | `$ azure -v` |
388 | 384 |
|
389 | | - You should be able to see something like this: |
| 385 | + You should see something like this: |
390 | 386 |
|
391 | 387 | `Microsoft Azure: Microsoft's Cloud Platform... Tool Version 0.6.0` |
392 | 388 |
|
393 | | -5. Log in to Microsoft Azure Portal at <https://windows.azure.com> |
394 | | - (Figure 2-14). |
| 389 | +5. Log in to Microsoft Azure Portal at <https://azure.microsoft.com> (Figure 2-8). |
395 | 390 |
|
396 | 391 |  |
397 | 392 |
|
398 | | - ***Figure 2-14.** Registering on Microsoft Azure* |
| 393 | + ***Figure 2-8.** Registering on Microsoft Azure* |
399 | 394 |
|
400 | | -6. Select New, then select Web Site, and Quick Create. Type the name |
401 | | - that will serve as the URL for your web site, and click OK. |
| 395 | +6. Select New, then select Web Site, and Quick Create. Type the name that will serve as the URL for your web site, and click OK. |
402 | 396 |
|
403 | | -7. Go to this newly created web site's Dashboard and select Set Up |
404 | | - Git Publishing. Come up with a user name and password. This |
405 | | - combination can be used to deploy to any web site in your |
406 | | - subscription, meaning that you do not need to set credentials for |
407 | | - every web site you create. Click OK. |
| 397 | +7. Go to this newly created web site's Dashboard and select Set Up Git Publishing. Come up with a user name and password. This combination can be used to deploy to any web site in your |
| 398 | + subscription, meaning that you do not need to set credentials for every web site you create. Click OK. |
408 | 399 |
|
409 | | -8. On the follow-up screen, it should show you the Git URL to push to, |
410 | | - something like this: |
| 400 | +8. On the follow-up screen, it should show you the Git URL to push to, something like this: |
411 | 401 |
|
412 | 402 | |
413 | 403 |
|
414 | | - You will also see instructions on how to proceed with deployment. We'll |
415 | | - cover them later. |
| 404 | + You will also see instructions on how to proceed with deployment. We'll cover them later. |
416 | 405 |
|
417 | | -9. Advanced user option: Follow this tutorial to create a virtual |
418 | | - machine and install MongoDB on it: [Install MongoDB on a virtual |
419 | | - machine running CentOS Linux in Microsoft Azure](https://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-on-a-linux-vm) (https://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-on-a-linux-vm). |
| 406 | +9. Advanced user option: Follow this tutorial to create a virtual machine and install MongoDB on it: [Install MongoDB on a virtual machine running CentOS Linux in Microsoft Azure](https://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-on-a-linux-vm) (https://www.windowsazure.com/en-us/manage/linux/common-tasks/mongodb-on-a-linux-vm). TK |
420 | 407 |
|
421 | 408 |
|
422 | 409 | Heroku |
423 | 410 | ------ |
424 | 411 |
|
425 | | -Heroku is a polyglot agile application deployment platform (see |
426 | | -<http://www.heroku.com>). Heroku works similarly to Microsoft Azure in |
427 | | -the sense that you can use Git to deploy applications. There is no need |
428 | | -to install Virtual Machine for MongoDB because [Heroku has a MongoHQ |
429 | | -add-on](https://addons.heroku.com/mongohq) |
430 | | -(https://addons.heroku.com/mongohq). |
| 412 | +Heroku is a polyglot agile application deployment platform (see <https://www.heroku.com>). Heroku works similarly to Microsoft Azure in the sense that you can use Git to deploy applications. There is no need to install Virtual Machine for MongoDB because [Heroku has a MongoHQ add-on](https://addons.heroku.com/mongohq) (https://addons.heroku.com/mongohq). TK |
431 | 413 |
|
432 | 414 | To set up Heroku, follow these steps: |
433 | 415 |
|
434 | | -1. Sign up at <http://heroku.com>. Currently they have a free account; |
435 | | - to use it, select all options as minimum (0) and database as shared. |
| 416 | +1. Sign up at <https://heroku.com>. Currently they have a free account; to use it, select all options as minimum (0) and database as shared. |
436 | 417 |
|
437 | | -2. Download Heroku Toolbelt at (https://toolbelt.heroku.com) Toolbelt |
438 | | - is a package of tools; that is, libraries that consist of Heroku, |
439 | | - Git, and Foreman ( <https://github.com/ddollar> foreman). For users |
440 | | - of older Macs, get this client ( <https://github.com/heroku/heroku> ) |
441 | | - directly. If you utilize another OS, browse Heroku Client |
442 | | - GitHub (https://github.com/heroku/heroku) . |
| 418 | +2. Download Heroku Toolbelt at (https://toolbelt.heroku.com) TK. Toolbelt is a package of tools; that is, libraries that consist of Heroku, Git, and Foreman (<https://github.com/ddollar/foreman>). For users of older Macs, get this client (<https://github.com/heroku/heroku>) TK directly. If you utilize another OS, browse Heroku Client GitHub (<https://github.com/heroku/heroku>) TK. |
443 | 419 |
|
444 | | -3. After the installation is done, you should have access to the |
445 | | - heroku command. To check it and log in to Heroku, type: |
| 420 | +3. After the installation is done, you should have access to the `heroku` command. To check it and log in to Heroku, type: |
446 | 421 |
|
447 | 422 | `$ heroku login` |
448 | 423 |
|
449 | | - It will ask you for Heroku credentials (user name and password), and if |
450 | | - you've already created the SSH key, it will automatically upload it to |
451 | | - the Heroku web site (Figure 2-15). |
| 424 | + It will ask you for Heroku credentials (user name and password), and if you've already created the SSH key, it will automatically upload it to the Heroku web site (Figure 2-9). |
452 | 425 |
|
453 | 426 |  |
454 | 427 |
|
455 | | - ***Figure 2-15.** The response to the successful $ heroku login command* |
| 428 | + ***Figure 2-9.** The response to the successful $ heroku login command* |
456 | 429 |
|
457 | | -4. If everything went well, to create a Heroku application inside of |
458 | | - your specific project folder, you should be able to run this |
459 | | - command: |
| 430 | +4. If everything went well, to create a Heroku application inside of your specific project folder, you should be able to run this command: |
460 | 431 |
|
461 | 432 | `$ heroku create` |
462 | 433 |
|
463 | 434 |
|
464 | | - |
465 | | -More [^1]detailed step-by-step instructions are available at Heroku: |
466 | | -Quickstart ( <https://devcenter.heroku.com> articles/quickstart ) and |
467 | | -Heroku: Node.js ( <https://devcenter.heroku.com/articles/nodejs>). |
| 435 | +More instructions for getting started with Node.js and other languages are available from Heroku at <https://devcenter.heroku.com/start>. |
468 | 436 |
|
469 | 437 | Summary |
470 | 438 | ======= |
471 | 439 |
|
472 | | -In this chapter, we've covered the technical setup of the version |
473 | | -control system, cloud clients as well as installed various tools and |
474 | | -libraries. We'll use these libraries and tools in the books, for this |
475 | | -reason it's important to have them installed and ready to go. In |
476 | | -addition, the chapter provided a few links to external resources which |
477 | | -can make you understand and learn web development tools better. One of |
478 | | -the most useful of such resources is DevTools. |
| 440 | +In this chapter, we've covered the technical setup of the version control system, cloud clients, and the installation of various tools and libraries. We'll use these libraries and tools throughout the book, for this reason it's important to have them installed and ready to go. In addition, the chapter provided a few links to external resources that will help you understand and learn web development tools better. One of the most useful of such resources is DevTools. |
479 | 441 |
|
480 | | -You must be dying to get started with the actual coding. The wait is |
481 | | -over. Meet the first fullstack JavaScript code in the next chapter. |
| 442 | +You must be dying to get started with the actual coding. The wait is over. Meet the first full stack JavaScript code in the next chapter. |