Code Monkey home page Code Monkey logo

pinteresting's Introduction

One Month Rails

This is the pinteresting sample application for One Month Rails

by Chloe Echikson

Set-Up Instructions For Windows:

  1. Download and Install Vagrant

  2. Download and Install Virtualbox

  3. Download and open/install the appropriate VM Virtualbox Extension Pack

  4. Ensure git CLI on host machine

  5. Download and Install PuTTy putty.exe

  6. Download and Install PuTTYgen puttygen.exe


Git Clone the repo where ever you'd like the machine

$ git clone https://github.com/cloworm/pinteresting.git
$ cd pinteresting

Start Vagrant

To Start up your VM in cmd or powershell

$ vagrant up

1) Generate SSH Keys With PuTTyGen (You only do this once)

  • 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

To SSH in to the VM:

2) SSH into Vagrant with PuTTy (This is how you will vagrant-ssh)

  • Open putty.exe
IN SESSION:
  • Set "Host Name (or IP address)" to "127.0.0.1"
  • Set "Port" to "2222"
  • Set "Connection Type" to "SSH"
IN CONNECTION/SSH/AUTH:
  • 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
IN SESSION:
  • 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

Stop Vagrant

To suspend:

vagrant suspend

To halt:

vagrant halt

pinteresting's People

Contributors

cloworm avatar

Watchers

James Cloos avatar Mark Allen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.