Skip to content

A shell script which turns your HP Chromebook 14 into an awesome web development machine.

License

Notifications You must be signed in to change notification settings

nathansmyth/laptop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

303 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laptop

Laptop is a script to set up an chromebook laptop for web development.

Setup

  • Enable [Developer Mode] (http://www.howtogeek.com/210817/how-to-enable-developer-mode-on-your-chromebook/)
    • esc+reload(f3)+power
    • ctrl+d
  • Open console tab in chrome browser
    • ctrl+alt+t
    • shell
  • Install crew
    • wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash
    • sudo chown -R chronos:chronos /usr/local
    • installs binutils curl expat gcc gettext git glibc gmp libssh2 linuxheaders make mpc mpfr perl python readline ruby zlibpkg
  • Setup [git ssh keys] (https://help.github.com/articles/generating-ssh-keys/)
  • Clone this repo into home
  • cd ~ && mkdir laptop && git clone git@github.com:nathansmyth/laptop.git laptop && cd laptop
  • Run chromebook script
    • sh ./chromebook
  • Install crouton
    • Download [crouton from link in repo description] (https://github.com/dnschneid/crouton/)
    • sudo sh -e ~/Downloads/crouton -t xiwi -r trusty
    • sudo enter-chroot
    • Setup initial user account, and you're in Ubuntu 14.04!
  • Run ubuntu-docker script
    • cd ~/Downloads/laptop && sh ubuntu-docker

Notes

It can be run multiple times on the same machine safely. It installs, upgrades, or skips packages based on what is already installed on the machine.

Display public ip address: curl http://ifconfig.me/ip

Display private ip address: ip route get 1 | cut -d ' ' -f 3

20150523

Here's where I wanna start, when I come back around to this.

crew

crouton

Requirements

We support:

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

Install

Download, review, then execute the script:

curl --remote-name https://raw.githubusercontent.com/nathansmyth/laptop/master/chromebook
less chromebook
sh chromebook

What it sets up

  • Bundler for managing Ruby libraries
  • Node.js and NPM, for running apps and installing JavaScript packages
  • Zsh as your shell

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

Thank you, contributors!

By participating in this project, you agree to abide by the thoughtbot code of conduct.

License

Laptop is © 2011-2015 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About thoughtbot

thoughtbot

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

We are passionate about open source software. See our other projects. We are available for hire.

About

A shell script which turns your HP Chromebook 14 into an awesome web development machine.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%