/Getting-Started

Documentation on setting up a basic development environment.

Getting-Started

NOTES

Minimum hardware requirements - accurate?

  • 2GHz processor (?)
  • 8GB RAM
  • 20GB of hard drive space, in addition to a minimum of 10% free space on your internal hard-disk or solid-state drive.
    • For example, if you have a 500GB capacity drive, then you will want at the very minimum 50GB of unallocated (free) storage space for optimal system performance.
    • In addition to this free space, you will need 20GB of storage space for your work and tools.
    • In this scenario, at the very minimum you would need 70GB of free space on a 500GB drive.
    • If,however, your internal drive is already within 20% of capacity (i.e. 400GB used on a 500GB capacity drive), then we recommend that you archive as much data as you can to free up some drive space.

Minimum storage requirements for Lambda School projects and requisite tools: ~20GB

Tool Storage Cost
Lambda School projects ~ 10GB Free
Chrome ~400MB Free
Git ~ 80MB Free
GitBash (Windows) ??? Free
Xcode & Xcode CLI Tools (macOS) ~ 11GB Free (requires Apple user account)
NodeJS ~ 60MB Free
NodeJS packages ~ 30MB including create-react-app, lessc, nodemon, yarn Free
Text Editor (see table below) Free
Zoom ~ 30MB Free
Slack ~220MB Free
PostMan ~260MB Free
MongoDB & mongod ~200MB Free
MongoDB GUI ~ 60MB Robo 3T , 500MB MongoDB Compass) Free
Text Editor Application Size Cost
Vim ~ 2MB Free
Sublime ~ 30MB Free nagware* or $80US per single user
Emacs ~ 50MB Free
VSC ~200MB Free
Atom ~500MB Free

* https://www.sublimetext.com/buy Sublime is a great text editor. The free version is fully-functional. It will occasionally remind to to buy a license (i.e. "nagware"). Licenses are per user, not per machine. If you like it, why not let Jon Skinner and Will Bond know by buying a license?


Installation Guide for YOUR operating system

If you have adequate storage, processor speed and memory (RAM), please follow the instruction guide for your operating system:

  1. Linux
  2. macOS
  3. Windows

If you do not meet the minimum hardware and storage requirements, please fill out this form: Lambda School Loaner Device Request

Once you are done with the installation guide for your operating system, please continue to install the following tools.

DO NOT proceed unless you have completed the Installation Guide.

Having downloaded the NodeJS installer and installed NodeJS on your computer you will have both the node and npm commands available. Now launch your console. NOTE: it is a convention to use the dollar sign $ to indicate the console prompt. You want to use the commands which follow this prompt - do not enter $ into the console. Nothing bad will happen, but the console (i.e. terminal, shell) won't know what to make of it. If you include the $ you may get a return message like so: bash: $: command not found That said, you can confirm that the node and npm commands are installed like so:

$  node -v
    v8.11.1
$  npm -v
    5.6.0

Now use the NodeJS Package Manager (npm) to install some additional NodeJS packages. With the following command, the i is short for "i"nstall (you could spell out install but you can save six whole keystrokes!) The -g flag let's the npm command know to install these packages "g"lobally on your system.

$ npm i -g create-react-app less nodemon yarn

If you get warnings and errors about permissions, you may need to invoke this command by prepending it with sudo - the "s"uper "u"ser "do" command. This will allow the command to be run with more security privileges. You will be prompted for your password.

$  sudo npm i -g create-react-app less nodemon yarn
    Password:
    /usr/local/bin/create-react-app -> /usr/local/lib/node_modules/create-react-app/index.js

    /usr/local/bin/lessc -> /usr/local/lib/node_modules/less/bin/lessc
    /usr/local/bin/nodemon -> /usr/local/lib/node_modules/nodemon/bin/nodemon.js
    /usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
    /usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js

    > nodemon@1.17.3 postinstall /usr/local/lib/node_modules/nodemon
    > node -e "console.log('\u001b[32mLove nodemon? You can now support the project via the open collective:\u001b[22m\u001b[39m\n > \u001b[96m\u001b[1mhttps://opencollective.com/nodemon/donate\u0
    01b[0m\n')" || exit 0

    Love nodemon? You can now support the project via the open collective:
     > https://opencollective.com/nodemon/donate

    + less@3.0.1
    + create-react-app@1.5.2
    + nodemon@1.17.3
    + yarn@1.5.1
    updated 4 packages in 33.696s

After you've complete the setup for your particular operating system

You should be able to confirm that the following tools are installed on your machine and available through your environment's $PATH:

$  node -v
    v8.11.1
$  npm -v
    5.6.0
$  create-react-app --version
    1.5.2
$  lessc -v
    lessc 3.0.1 (Less Compiler) [JavaScript]
$  nodemon -v
    1.17.3
$  yarn -v
    1.5.1
$  mongod --version
    db version v3.6.3
    git version: 9586e557d54ef70f9ca4b43c26892cd55257e1a5
    OpenSSL version: OpenSSL 1.0.2o  27 Mar 2018
    allocator: system
    modules: none
    build environment:
        distarch: x86_64
        target_arch: x86_64

NOTE: these version numbers and the console readout may be different than yours.

You can also confirm which global installations you've made with the NodeJS package manager:

$  npm list -g --depth=0
    /usr/local/lib
    ├── create-react-app@1.5.2
    ├── less@3.0.1
    ├── nodemon@1.17.3
    ├── npm@5.6.0
    └── yarn@1.5.1

Sign Up!