Skip to content

Latest commit

 

History

History
executable file
·
97 lines (82 loc) · 3.94 KB

readme_dependency_install.md

File metadata and controls

executable file
·
97 lines (82 loc) · 3.94 KB

Readme dependencies

Add an SSH Key to GitHub

  1. ssh-keygen -t rsa -b 2048 (in terminal)
  2. Press Enter to accept the default save location.
  3. Enter a passphrase that you will remember.
  4. cat ~/.ssh/id_rsa.pub
    Copy the text block that is displayed. This is your SSH key.
    If you're on Window and can't copy the text from the terminal, go to C:\Users\[your username here]\.ssh and open the id_rsa.pub file with notepad.
  5. In GitHub, click Edit Your Profile.
  6. Select SSH Keys on the left.
  7. Click Add SSH key. Give it a meaningful title.
  8. Copy your SSH Key into the Key, and click Add key.

Windows

  1. You will need a terminal tool for Windows. I used Git Bash to test these steps, but Cygwin or another unix like editor should work fine too.

  2. Download Git Bash.

  3. Click Next on the welcome screen.

  4. Click Next to acknowledge the license.

  5. Click Next to keep the default directory.

  6. Click Next to Select Components.
    You may add Quick Launch and Desktop icons here if you'd like.

  7. Click Next to confirm the Start Menu Folder.

  8. PATH environment. I recommend the last option here to include Unix tools, but if you don't understand what that entails use the second option which still adds Git to your system PATH then click Next.

  9. Line Ending Conversion. Keep the first option selected, click Next.

  10. Click Finish when the installation is complete.

  11. Install the newest release of Node for Windows, using the Windows Installer (.msi).

  12. Click Next on the welcome screen.

  13. Accept the License Agreement, then click Next.

  14. Click Next to keep the default directory.

  15. Click Next to intall the default features of Node.

  16. Click Install to begin the installation.

  17. Click Finish when the installation is complete.

  18. Install the newest release of Ruby for Windows, using the executable.

  19. Select your language of choice, then click OK.

  20. Accept the License Agreement, then click Next.

  21. Select the check box to Add Ruby to your PATH then click Install.

  22. Click Finish when the installation is complete.

  23. Install PHP, from zip.

  24. Download the appropriate zip file from http://windows.php.net/download/

  25. Unzip the folder and copy the contents into a new folder on your C:\ drive. C:\php54

  26. Add PHP to your PATH. 1. Right-Click on My Computer (or Computer) -> Properties. 1. Click Advanced system settings. 1. Click the Advanced tab at the top. 1. Click on **Environment Variables...*. 1. Find Path under the System variables, then click *Edit... 1. Make sure there is a ; (semi-colon) after the last item in the list, then add C:\php54;

  27. Close and re-open your terminal so that your new PATH is loaded.
    Make sure to navigate back to your geomag-baseline-calculator project directory. git config --global url."https://".insteadOf git://


Mac

  1. install xcode
    https://developer.apple.com/xcode/

  2. install homebrew
    http://mxcl.github.io/homebrew/

  3. Use homebrew to install node, git and ruby
    brew install node
    brew install git
    brew install ruby

  4. Update paths as needed in your ~/.bash_profile:
    # brew installed binaries
    export PATH=$PATH:/usr/local/bin
    # npm installed binaries
    export PATH=$PATH:/usr/local/share/npm/bin # gem installed binaries
    export PATH=$PATH:/usr/local/opt/ruby/bin

  5. Close and re-open your terminal so that your new PATH is loaded.
    Make sure to navigate back to your geomag-baseline-calculator project directory.