Appendix B. Installing and preparing the supporting cast

 

This appendix covers

  • Adding Twitter Bootstrap and some custom styles
  • Using Font Awesome to provide a ready-made set of icons
  • Installing Git
  • Installing Docker and using the included container setup
  • Installing a suitable command-line interface
  • Signing up for Heroku
  • Installing the Heroku CLI

Several technologies can help you with developing on the MEAN stack, from front-end layouts to source control and deployment tools. This appendix covers the installation and setup of the supporting technologies used throughout this book. As the actual install instructions tend to change over time, this appendix points you toward the best places to get the instructions and anything you need to look out for.

Twitter Bootstrap

Bootstrap isn’t installed as such, but is added to your application. This process is as simple as downloading the library files, unzipping them, and placing them in the application.

The first step is downloading Bootstrap. This book uses version 4.1, which currently is the official release. You can get it from https://getbootstrap.com. Make sure you download the “ready to use files” and not the source. The distribution zip contains two folders: css and js.

When you have the files downloaded and unzipped, move one file from each folder into the public folder in your Express application, as follows:

  1. Copy bootstrap.min.css into your public/stylesheets folder.
  2. Copy bootstrap.min.js into your public/js folder.

Font Awesome

Installing Git

Installing Docker

Installing a suitable command-line interface

Setting up Heroku