Skip to content

Instantly share code, notes, and snippets.

@alkalinecoffee
Last active December 10, 2018 17:58
Show Gist options
  • Save alkalinecoffee/0c4c46f9a113568278328aad35914952 to your computer and use it in GitHub Desktop.
Save alkalinecoffee/0c4c46f9a113568278328aad35914952 to your computer and use it in GitHub Desktop.
new mac setup
brew install bash-completion
brew tap cloudfoundry/tap && brew install cf-cli
brew tap drone/drone && brew install drone
brew install tomcat
brew install phantomjs
brew install python@2
pip install ansible
# add to /usr/local/Cellar/tomcat/8.5.8/libexec/conf/tomcat-users.xml
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="password" roles="admin,admin-gui,manager-gui"/>
# add to /usr/local/Cellar/tomcat/8.5.8/libexec/bin/setenv.sh
export RACK_ENV=development
export RAILS_ENV=$RACK_ENV
# download java crypto extensions and install here:
/Library/Java/JavaVirtualMachines/jdk1.XXX.jdk/Contents/Home/jre/lib/security
# set up cloud documents
sudo ln -s /Users/joe/Library/Mobile\ Documents/com~apple~CloudDocs/Desktop ~/Desktop
sudo ln -s /Users/joe/Library/Mobile\ Documents/com~apple~CloudDocs/Documents ~/Documents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment