Skip to content
This repository was archived by the owner on Dec 9, 2017. It is now read-only.

azevedo/laptop

 
 

Repository files navigation

Laptop

Laptop is a script to set up a Mac OS X or Linux laptop for Rails development.

Requirements

Mac OS X

We support:

Older versions may work but aren't regularly tested. Bug reports for older versions are welcome.

Linux

IT IS BROKEN RIGHT NOW

We support:

Install

Mac OS X

Read, then run the script:

bash <(curl -s https://raw.githubusercontent.com/azevedo-252/laptop/master/mac) 2>&1 | tee ~/laptop.log

Linux

IT IS BROKEN RIGHT NOW

Read, then run the script:

bash <(wget -qO- https://raw.githubusercontent.com/thoughtbot/laptop/master/linux) 2>&1 | tee ~/laptop.log

Debugging

Your last Laptop run will be saved to ~/laptop.log. Read through it to see if you can debug the issue yourself.

What it sets up

  • Bundler for managing Ruby libraries
  • Exuberant Ctags for indexing files for vim tab completion
  • Foreman for serving Rails apps locally
  • gh for interacting with the GitHub API
  • Heroku Config for local ENV variables
  • Heroku Toolbelt for interacting with the Heroku API
  • Homebrew for managing operating system libraries (OS X only)
  • ImageMagick for cropping and resizing images
  • Node.js and NPM, for running apps and installing JavaScript packages
  • NVM for managing versions of Node.js
  • Parity for development, staging, and production parity
  • Postgres for storing relational data
  • Qt for headless JavaScript testing via Capybara Webkit
  • Rails gem for writing web applications
  • Rbenv for managing versions of Ruby
  • Redis for storing key-value data
  • Ruby Build for installing Rubies
  • Ruby stable for writing general-purpose code
  • The Silver Searcher for finding things in files
  • Tmux for saving project state and switching between projects
  • Watch for periodically executing a program and displaying the output
  • Zsh as your shell

It should take less than 15 minutes to install (depends on your machine).

Laptop can be run multiple times on the same machine safely. It will upgrade already installed packages and install and activate a new version of ruby (if one is available).

Credits

thoughtbot

Laptop is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

Thank you, contributors!

Contributing

Please see CONTRIBUTING.md.

License

About

A shell script which turns your Linux or Mac OS X laptop into an awesome development machine.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 73.3%
  • Ruby 26.7%