Skip to content

A set of tmux scripts to setup a remote pairing session for Rails with VIM and Spork

Notifications You must be signed in to change notification settings

mikehowson/tmux-remote-pairing-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tmux remote pairing scripts

Just a set of scripts to help setup, attach to and shutdown a tmux session for remote rails pairing over ssh using VIM.

Requirements

  • Tmux
  • Rails
  • VIM
  • Rspec
  • Spork/Guard

You will also need a /var/tmux folder with group permissions. Recommended route is to create a tmux group and add all users that will be sharing the session to it and then give group permissions to the folder.

Installation

  1. Clone to a folder anywhere you like
  2. run ./install.sh to create symlinks in /usr/local/bin

Usage

The host user starts the session from the rails project folder using tmux-start. This will create tmux server session called 'pairing' with four windows:-

  1. VIM - The coding window
  2. Server - The rails server running on port 3000
  3. Bash - A general usage bash shell
  4. Spork - A spork session to autorun the specs

The remote user can then ssh into the host machine and run tmux-attach.

Once the pairing session has finished run tmux-stop to kill the session and the server.

About

A set of tmux scripts to setup a remote pairing session for Rails with VIM and Spork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages