8000 GitHub - kimdhendrick/workstation-setup: Scripts to automatically set up a machine for development the "Tanzu Labs" way
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kimdhendrick/workstation-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workstation Setup

This project automates the process of setting up a new RxRevu machine using a simple Bash script. It was forked from https://github.com/pivotal/workstation-setup

Warning: this script is currently aggressive about what it does and will overwrite vim configurations, bash-it configurations, etc.

Note: the primary branch for this repo is main rather than master

Getting Started

  • Run the latest version of macOS
  • These scripts might work on previous versions, but are maintained with only the latest macOS in mind
  • You may need to install the latest version of Xcode before starting
    • In a terminal, run: xcode-select --install
    • Accept the licensing agreement

Open up Terminal.app and run the following command:

mkdir -p ~/workspace &&
  cd ~/workspace &&
  git clone https://github.com/kimdhendrick/workstation-setup.git &&
  cd workstation-setup

Development Machine

If you're setting up a development machine choose which languages and tools to install:

Examples

./setup.sh ruby java java-tools docker intellij rectangle yarn node16

Additional options can be installed later by running:

./add_setup.sh <list of opt-in items to install>

To see a list of available options run:

printf "%s " `ls scripts/opt-in | sed 's/\..*//'`; echo

Shiftit

Shiftit is no longer under active development, if you want to install it you can add shiftit to either your ./setup.sh or ./add_setup.sh command line.

Rectangle (Shiftit Alternative)

Window manager for Mac

Having problems?

If you see errors from brew, try running brew doctor and include the diagnostic output in your issue submission.

If you see an error saying Need sudo access on macOS which goes on to claim that your user needs to be an administrator this command should help you out:

sudo dseditgroup -o edit -a <user-name> -t user admin

Run it and try your ./setup.sh command again.

Installing .NET

There is a known conflict between dotnet and dotnet-sdk Homebrew formulae. The dotnet formula is only the runtime, so you probably want dotnet-sdk, which includes the .NET runtime. If you're seeing errors when attempting to install, run brew uninstall dotnet.

Contributing

If you'd like to add programs to this script, make sure they are approved for use. The security team maintains a list of authorized software. Before adding any software to your machine or this script, fill out a request form to have it approved.

Import RubyMine settings

Within RubyMine select File->Manage IDE Settings ->Import Settings....

Navigate to workstation-setup/files/rm_settings.zip and select rm_settings.zip.

Select all the settings and hit Ok, RubyMine will then prompt you to restart (it is wise to do so).

AWS Credential Setup

Note: Requires staging/prod and sandbox AWS credentials Change aws_access_key_ids and aws_secret_access_keys in the ~/.aws/credentials file to use the credentials provided to you by the security team.

AWS MFA

Use the mfa command to set an MFA token for the next 12 hours. See the usage message it prints for more information.

To set your token in a new terminal, run . ~/.aws/mfa_session

Standards

About

Scripts to automatically set up a machine for development the "Tanzu Labs" way

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.8%
  • Ruby 0.2%
0