Skip to content
/ laptop Public
forked from thoughtbot/laptop

Laptop is a set of scripts to get your laptop set up as a development machine.

Notifications You must be signed in to change notification settings

trvrplk/laptop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Laptop

Laptop is a set of scripts to get your laptop set up as a development machine.

Mac OS X

First, install XCode. ($4.99, requires OS X 10.6.6 or higher)

Set up your SSH key if you haven't yet:

ssh-keygen -t rsa

Then, run this one-liner:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/mac )

Ubuntu

First, install Ubuntu.

Set up your SSH key if you haven't yet:

ssh-keygen -t rsa

Then, run this one-liner:

bash < <( curl -s https://github.com/thoughtbot/laptop/raw/master/ubuntu )

Set your postgres password:

sudo -u postgres psql postgres
\password postgres
<Ctrl+D>

Give your user a postgres role:

sudo -u postgres createuser --no-superuser --createdb --no-createrole --login --pwprompt --encrypted -h 127.0.0.1 -p 5432 `whoami`

What it sets up

  • SSH public keys (for authenticating with services like Github and Heroku)
  • Homebrew or apt-get (for managing operating system libraries)
  • Git (for managing versions of code)
  • Ack (for finding things in files)
  • Postgres (for storing relational data)
  • Redis (for storing key-value data)
  • ImageMagick (for cropping and resizing images)
  • RVM (for managing versions of the Ruby programming language)
  • Ruby 1.9.2 stable (for writing general-purpose code)
  • Bundler gem (for managing Ruby libraries)
  • Rails gem (for writing web applications)
  • Heroku gem (for interacting with the Heroku API)
  • Taps gem (for pushing and pulling SQL databases between environments)
  • SQLite and PG gems (for making Ruby talk to SQL databases)

It should take between 20-60 minutes for everything to install. (depends on your machine)

About

Laptop is a set of scripts to get your laptop set up as a development machine.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published