Skip to content

Latest commit

 

History

History
94 lines (70 loc) · 3.26 KB

readme_dependency_install_specifics.md

File metadata and controls

94 lines (70 loc) · 3.26 KB

Readme dependencies


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.