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
- Host: GitHub
- URL: https://github.com/civilcode/laptop
- Owner: civilcode
- License: other
- Created: 2016-11-18T19:48:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T20:35:28.000Z (over 2 years ago)
- Last Synced: 2025-01-26T12:41:31.296Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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=- <