Skip to content

Latest commit

 

History

History
113 lines (85 loc) · 3.8 KB

File metadata and controls

113 lines (85 loc) · 3.8 KB

BACK-END WEB DEVELOPMENT

GeneralAssemb.ly

#Install git and Ruby

##Mac Users

Commands that look like this should be entered into your Terminal application. It can be found in Applications/Utilities.

  1. Make sure you have an apple ID (you should already have one).

  2. Install Command Line Tools

  1. Install Homebrew
  1. Install git

    • brew update
    • brew install git
  2. Configure git with your Name and Email

  1. Install RVM with Ruby 2.0.0
  • \curl -L https://get.rvm.io | bash -s stable --ruby
  • rvm use 2.0.0 --default
    • Make sure the latest versions of RVM and Ruby were installed, run the commands below:
      • For RVM

        • rvm -v

          You should get rvm 1.0.0 or higher.

      • For Ruby

        • ruby -v

          You should get ruby 2.0.0p0 or higher.

##Ubuntu Linux Users

Commands that look like this should be entered into your Terminal application.

  1. Open a terminal window
  1. Install git
  1. Install curl
  • sudo apt-get install curl
  1. Install RVM
  • \curl -L https://get.rvm.io | bash -s stable --ruby
  • The backslash in font of "curl" is not a typo.
  • rvm use 2.0.0 --default
    • Make sure the latest versions of RVM and Ruby were installed, run the commands below:
      • For RVM

        • rvm -v You should get rvm 1.0.0 or higher.
      • For Ruby

        • ruby -v You should get ruby 2.0.0p0 or higher.

##Windows Users

  1. Install VirtualBox
  1. Download Ubuntu Linux
  1. Create your virtual machine
  • Open VirtualBox and click the "New" button
  • Enter any name
  • Select "Linux" as the type
  • Select either "Ubuntu" or "Ubuntu (64 bit)" as the version depending on which you downloaded.
  • Memory size is the amount of your RAM that will be used to run Linux. 1024MB should be more than enough, but if you have a lot of RAM you can boost this number. If your machine only has 1GB of RAM then 512MB will have to do. If you're not sure, don't worry because this value can be changed later.
  • Hard drive - Select "Create a virtual hard drive now" then use the "VDI" type and then the "Dynamically allocated" option. Name the virtual hard drive file anything and select an amount of hard drive space that your computer is capable of supporting. 8GB should be plenty.
  • After clicking "Create", select the new virtual machine you created in the left column and press the "Start" button.
  • In the "Select start-up disk" window, select the Ubuntu Linux .iso file you downloaded and press start. You can then follow the Ubuntu installation instructions.
  1. Setup Ubuntu
  • Now see the the installation instructions for Ubuntu Linux!

##Happy Coding :)

You're ready for the first class.