adpro / dotfiles-2020

Scripts for automated installation and setup of MacOS 10.14+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.files

These are my dotfiles. Take anything you want, but at your own risk.

It targets macOS systems 10.14 and 10.15.

Package overview

Install

Check manual installed software like Google Chrome, Mozilla Firefox. If it is installed, uninstall them.

On a fresh installation of MacOS update system:

sudo softwareupdate -i -a

Sign in to Mac App Store by Apple ID.

Then install this repo with curl available:

bash -c "`curl -fsSL https://raw.githubusercontent.com/adpro/dotfiles/master/remote-install.sh`"

This will download using curl this repo to ~/.dotfiles. Alternatively, clone manually into the desired location:

git clone https://github.com/adpro/dotfiles.git ~/.dotfiles

Use the macos-setup to install everything listed above:

cd ~/.dotfiles
source macos-setup.sh

Post-install

  • reboot
  • Log in to:
    • Dropbox
    • Rider
    • Slack
    • Docker
    • Vagrant
    • Zoom
    • ClickUp
    • WhatsApp
    • Keybase
    • Spotify

git settings

  • Modify ~/.gitconfig file and add sections for different identities in repos in two main folders:

    [includeIf "gitdir:~/dev/_personal/"]
            path = .gitconfig-personal
    [includeIf "gitdir:~/dev/_work/"]
            path = .gitconfig-work
    
  • Edit name of work directory (_work), if its name is different.

  • Edit name and email in ~/.dotfiles/git/.gitconfig-personal and ~/.dotfiles/git/.gitconfig-work files.

    [user]
            name = Ales Daniel personal
            email = ales.daniel@server.tld
    
    [user]
            name = Ales Daniel work
            email = ales.daniel@server.tld
    

Dropbox settings

Dropbox => Preferences => Sync => Selective Sync => Choose Folders and select folder with access info.

Rider settings

Check Personal Access Token (PAT) for Rider IDE to github account for private repo. If doesn't exist, create one.

Rider settings are shared in private repository. Run Rider, on welcome screen go to Configure => Settings Repository... and set upstream URL: https://github.com/adpro/rider-settings, enter PAT and run Overwrite Local.

Use Rider => Preferences => Tools => Settings repository

License needed, use JetBrains Account option.

Visual Studio for Mac / Professional

License info about using the same license for VS for Mac and VS for Windows is on Visual Studio for Mac support

macOS installation downloads for virtualization

Get installation packages for macOS for virtualization (MacWorld: How to download old Mac OS X and macOS versions):

and do not install - quit installers.

Manual Installation

Next step is installation of company's software from repos (*AdminConsole and so on).

Everyday update

For actual versions of installed software run:

source ~/.dotfiles/bin/update.sh

Tools

Credits

Many thanks to:

About

Scripts for automated installation and setup of MacOS 10.14+

License:MIT License


Languages

Language:Shell 100.0%