This is the pinteresting sample application for One Month Rails
by Chloe Echikson
-
Download and Install Vagrant
-
Download and Install Virtualbox
-
Download and open/install the appropriate VM Virtualbox Extension Pack
-
Ensure git CLI on host machine
-
Download and Install PuTTYgen puttygen.exe
$ git clone https://github.com/cloworm/pinteresting.git
$ cd pinteresting
To Start up your VM in cmd or powershell
$ vagrant up
-
Open puttygen.exe
-
Click the "Load" button
-
To the right of Filename at the bottom change the drop down from "PuTTy Private Key Files (.ppk)" to "All Files ()"
-
Navigate to the cloned repo folder (example 'Desktop/Websites/pinteresting')
-
Navigate to the "private_key" file in ".vagrant/machines/default/virtualbox/private_key" and click open on this file.
-
Click 'Ok' to the PuTTyGen alert window
-
Click "Save Private Key"
-
Click 'Yes' to the PuTTyGen alert window
-
Name the .ppk file "private_key" without quotes
-
Save it in the same directory as putty for organization
-
Close PuTTyGen
- Open putty.exe
- Set "Host Name (or IP address)" to "127.0.0.1"
- Set "Port" to "2222"
- Set "Connection Type" to "SSH"
- Check "Display pre-authentication banner (SSH-2 only)"
- Check "Attempt authenticating using Pageant"
- Check "Attempt "keyboard-interactive" auth (SSH-2)"
- Check "Allow agent forwarding"
- Check "Allow attempted changes of username in SSH-2"
- Click Browse and navigate to the "private_key.ppk" file you generated in the putty directory
- Type "vagrant" (no quotes) in the Saved Sessions input
- Click Save
To open the vagrant box from this point on you may skip the putty setup. You will only need to open the putty.exe file and double click "vagrant" in the saved sessions list after running "vagrant up" in cmd or powershell.
Navigate to synced folders directory:
$ cd /vagrant
To suspend:
vagrant suspend
To halt:
vagrant halt