You need to know if you are running a 32-bit or 64-bit version of Windows. To find out, press Windows-r
and enter control.exe /name Microsoft.System
-
Install
node
- a javascript runtime for Windows from nodejs.org/download/ - you’ll want the .msi for the right bit version of Windows. Just accept all of the default choices. -
Install a build of
postgres
as our database. You’ll wantversion 9.2.9
from www.enterprisedb.com/products-services-training/pgdownload#windows. Choosepostgres
as the password for the db, and there’s no need to change the port from5432
. You can accept the rest of the defaults here. -
Install
atom
- a reasonably good text editor forWindows
that works well withrails
. It is found at atom.io. -
Install
Rails
itself. We are usingruby 2.0
. So head over to theRailsInstaller
at railsinstaller.org, and click to downloadWindows Ruby 2.0
. Run the installer, and accept the defaults. -
Configure your security (ssh) keys. At the end of the
Rails
install, you should see a message that saysyour public key has been copied to the clipboard
. You’ll want to paste this into yourGitHub
account at github.com/settings/ssh. Just chooseAdd A Key
and paste it in to theKey
field, and give it a title like “My Home PC” When you paste it in, it should look something like:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCmyN17vhmMyLxXlsSKdf0Po2enETp7Op8PAMq/NTQBllDw5I8ke6C76pPDPVeZoI+T7LxbUtUhWbHNNbkJRwYdaqb3CZ+fYWNGzBJACzevZbmXmBeEthox3X+3Al2yrGIud4Iagptqw2aIrE2gDTzkQPmrDLJnn5s05h7HuAOcD5iZ++nOXN9tACrmPRUvRIltQBnaM9xM7hRVALr8FrXjxM5P+ru9IJcgkWWjf263SCU8/+vveyYD8dYrSB3ToVbwtD9kULz3qo08ChqvJfOQErt/JKke/OHedYY28sYJqIzjmJoNd36RxJoni8BfMVpX1cFIlx/bFunuiXYb2CSt Cam Ferroni <cam@ferroni.net>
If it doesn’t, then you’ll need to do the following. In the
command window
you’ll see a line just above the cursor that says something like:public_key_location: C:\Users\admin/.ssh/id_rsa.pub
with
admin
replaced by whatever username you use to log into windows. Type (without the >) into the command line:> atom C:\Users\_your_username_/.ssh/id_rsa.pub
To load the file into
atom
, and then you should be able to copy all of it and paste it into GitHub. -
Install
GitHub For Windows
from windows.github.com.Once it is installed, you should be able to enter your credentials for
github
, hit the+
sign, chooseClone
, chooselaraferroni/drinkhere
, chooseC:\Sites
to clone it into.