Skip to content

RyanHedges/settop

Repository files navigation

Settop a.k.a Set[up Lap]top

This is a script for setting up my laptop. It works in conjunction with my dotfiles repo

Download the project

This is intended to be used on a brand new machine so you'll have to curl the project and unzip it.

$ curl -o ~/settop-master.zip -Lk https://github.com/ryanhedges/settop/archive/master.zip
$ unzip -j ~/settop-master.zip -d ~/init-settop
$ rm ~/settop-master.zip

Github setup

  1. Set up ssh key for github. The script is based on the directions found on github's documentation.

    $ source ~/init-settop/settop_ssh.sh

    This will:

    • Generates a ssh key
    • Creates the .ssh/config file
    • Adds key to a ssh-agent using --apple-use-keychain for passphrase
    • Copy contents of id_ed25519.pub to your clipboard for pasting into GitHubs account settings.

    If there is anything in the ssh directory, it will NOT generate a key. You may want to copy from your keys over from an existing computer if possible.

    After setting up the new SSH key with github you can test it with:

    $ ssh -T git@github.com
    

    Continue by adding 'github.com' to the list of known hosts and you should see..

    Hi RyanHedges! You've successfully authenticated, but GitHub does not provide shell access

  2. Add the key to Github

Setup App Store

Open app store and ensure that the apple account that downloads Mac apps is signed in. This can be triggered by going to Account Settings. I have to switch my personal Apple ID to my application Apple ID for this to work.

Setup laptop

  1. Run the settop script
$ sh ~/init-settop/settop.sh
  1. Run the script to copy this repo for future development

    $ sh ~/init-settop/clone_and_link.sh
  2. Remove the initial download

    $ rm -rf ~/init-settop

Manual Setup

Read the manual setup guide to run through the checklist

Helpful resources used while making this

About

Set[up Lap]top script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages