Readme dependencies
-
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.
-
Download Git Bash.
-
Click Next on the welcome screen.
-
Click Next to acknowledge the license.
-
Click Next to keep the default directory.
-
Click Next to Select Components. You may add Quick Launch and Desktop icons here if you'd like.
-
Click Next to confirm the Start Menu Folder.
-
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.
-
Line Ending Conversion. Keep the first option selected, click Next.
-
Click Finish when the installation is complete.
-
Install the newest release of Node for Windows, using the Windows Installer (.msi).
-
Click Next on the welcome screen.
-
Accept the License Agreement, then click Next.
-
Click Next to keep the default directory.
-
Click Next to intall the default features of Node.
-
Click Install to begin the installation.
-
Click Finish when the installation is complete.
-
Install the newest release of Ruby for Windows, using the executable.
-
Select your language of choice, then click OK.
-
Accept the License Agreement, then click Next.
-
Select the check box to Add Ruby to your PATH then click Install.
-
Click Finish when the installation is complete.
-
Install PHP, from zip.
-
Download the appropriate zip file from
http://windows.php.net/download/
-
Unzip the folder and copy the contents into a new folder on your C:\ drive.
C:\php54
-
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;
-
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://
-
install xcode
https://developer.apple.com/xcode/
-
install homebrew
http://mxcl.github.io/homebrew/
-
Use homebrew to install node, git and ruby
brew install node
brew install git
brew install ruby
-
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
-
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.