Skip to content

bosr/vm-pp-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Pair Programming VM

This VM fits for the following use case: As developer, I want to quickly (in less than 5 minutes) have a fully working pair programming session, without polluting my dev machine nor compromise my network security.

Installation

  1. First install vagrant: http://vagrantup.com

  2. Choose a linux box on http://www.vagrantbox.es. I chose Ubuntu precise64.

  3. Add the precise64 box:

     vagrant box add precise64 http://files.vagrantup.com/precise64.box
    
  4. Clone this repo

     git clone git@github.com:romain/ppsession
    
  5. In the folder, you get 3 files README.md, Vagrantfile, get_cookbooks.rb. Now run the get_cookbooks.rb script, then launch the VM

     ruby ./get_cookbooks.rb
     vagrantup
    

Usage

Everything is installed and provisioned, it's time for your PP session

Your side

Vagrant has configured a redirection from port 22222 on your dev machine (the host) to port 22 on the VM (the guest).

Login into your machine in either one of the following methods:

vagrant ssh
su - pair

or

ssh pair@your-ip -p 22222

Once logged in, start your tmux session:

tmux

Your pair

Your pair can login simply:

ssh pair@your-ip -p 22222

Once logged, she can attach her terminal to the existing session

tmux attach

Et voilà

Resources

  • tmux cheat sheet: http://www.dayid.org/os/notes/tm.html

About

Boot a pair-programming session in 3 min

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages