An open API service indexing awesome lists of open source software.

https://github.com/civilcode/laptop

A shell script which turns your macOS laptop into an awesome CivilCode development machine
https://github.com/civilcode/laptop

Last synced: 2 months ago
JSON representation

A shell script which turns your macOS laptop into an awesome CivilCode development machine

Awesome Lists containing this project

README

          

# Laptop

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

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.

## Requirements

We support:

* macOS Sierra (10.12)
* macOS High Sierra (10.13)
* macOS Mojave (10.14)

## Install (first account, i.e. admin)

Make sure Atom is already installed on the system beforehand.

Download, review, then execute the script:

curl --remote-name https://raw.githubusercontent.com/civilcode/laptop/master/mac
less mac
sh mac 2>&1 | tee ~/laptop.log

The script won't install homebrew and its packages as the should be already
installed by the main user account.

## Install (second and additional accounts, i.e. personal user)

Download, review, then execute the script:

curl --remote-name https://raw.githubusercontent.com/civilcode/laptop/master/mac
less mac
sh mac ANOTHER_USER=1 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.
If not, copy the lines where the script failed into a
[new GitHub Issue](https://github.com/civilcode/laptop/issues/new) for us.
Or, attach the whole log file as an attachment.

## What it sets up

Please see inline comments to see what is setup.

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

## Customize in `~/.laptop.local`

Your `~/.laptop.local` is run at the end of the Laptop script.
Put your customizations there.
For example:

#!/bin/sh

brew bundle --file=- <