Skip to content

Commit

Permalink
Log the output of the script to a file and stdout
Browse files Browse the repository at this point in the history
Thanks for the implementation, @pbrisbin.
  • Loading branch information
Dan Croak committed Jul 23, 2014
1 parent 15355e5 commit 3db746d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Expand Up @@ -37,13 +37,22 @@ Install

Read, then run the script:

bash <(curl -s https://raw.githubusercontent.com/thoughtbot/laptop/master/mac)
bash <(curl -s https://raw.githubusercontent.com/thoughtbot/laptop/master/mac) |& tee ~/laptop.log

### Linux

Read, then run the script:

bash <(wget -qO- https://raw.githubusercontent.com/thoughtbot/laptop/master/linux)
bash <(wget -qO- https://raw.githubusercontent.com/thoughtbot/laptop/master/linux) |& 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. If not, copy the lines where the script
failed into a [new GitHub
Issue](https://github.com/thoughtbot/laptop/issues/new) for us. Or, attach the
whole log file as an attachment.

What it sets up
---------------
Expand Down

0 comments on commit 3db746d

Please sign in to comment.